Method
|
GET
|
URL
|
/<instance>/translations
|
Parameters
|
language, keys, application, object, origin
|
Response Content Type
|
application/json
|
Parameter
|
Description
|
DataType
|
Example
|
||
---|---|---|---|---|---|
language
|
Language code for which to retrieve translations. If not specified, the authenticated user’s language is used.
|
String
|
Retrieve all existing translations for Spanish:
/<instance>/translations?language=es
|
||
keys
|
Indicates the subset of translations to retrieve. If not specified, and object is not specified, all translations are retrieved. Keys that include commas must be enclosed in double quotes.
|
String
|
Retrieve the translated keys Dashboard Components, Report Name and User Management:
/<instance>/translations?keys=Dashboard Components,Report Name,User Management
Retrieve the translated key containing a comma Agriculture, Forestry and Fishing:
/<instance>/translations?keys="Agriculture, Forestry and Fishing"
|
||
application
|
Application scope of translations to retrieve. Specify the application full identifier or the application UUID. If not specified, and object is not specified, all translations for the application are retrieved.
|
String
|
Retrieve all existing translations for Max Designer:
/<instance>/translations?application=io_designer
or
/<instance>/translations?application=7a4979b5-ceb1-47a9-842b-7c761748fbc5
|
||
object
|
Object for which translated metadata is retrieved. Specify the object full identifier. If not specified, and keys is not specified, all translations are retrieved. Output format is the same as what is retrieved by the Object metadata service with translation. For example JSON output, see Object Metadata Translation.
|
String
|
Retrieve translated metadata for the Showcase object:
/<instance>/translations?object=io_showcase
|
||
origin
|
Origin (code or metadata) to use to filter translations to be retrieved.
|
String
|
Retrieve code translations for authenticated user’s language:
instance/translations?origin=code
Retrieve metadata translations for French:
instance/translations?origin=metadata&language=fr
|
HTTP Status Code
|
Error Message
|
---|---|
200
|
OK
|
500
|
Internal Server Error / Serialization Error
|