OpenapiApiV1I18nLocale
按文本 ID 查询多语言内容
Authorization
bearerAuth AuthorizationBearer <token>
需要凭证时,请使用 Bearer token。
In: header
Path Parameters
locale*string
语言代码,例如 cn、en、jp、zh-tw。
Query Parameters
ids*string
逗号分隔的文本 ID。数量必须在 1 到 maxPageSize 之间。
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://openapi.perlica.tech/api/v1/i18n/string?ids=100001%2C100002"{
"data": {
"locale": "string",
"texts": {
"property1": "string",
"property2": "string"
}
}
}{
"error": {
"code": "string",
"message": "string"
}
}{
"error": {
"code": "string",
"message": "string"
}
}{
"error": {
"code": "string",
"message": "string"
}
}{
"error": {
"code": "string",
"message": "string"
}
}