Import translations
Changed onRequest
- Base URLhttps://api.smartling.com
- AuthHTTP bearer
Path parameters
Unique identifier of a Smartling project — 9 lowercase alphanumeric characters.
A unique project identifier. This can be found in the Smartling Dashboard under Account Settings > API.
Locale identifier. Either a 2-letter language code (en) or a language-region pair (en-US). The language part is always lowercase; the region part is always uppercase.
Identifier for a locale.
Request body multipart/form-data
Example request
{
"fileUri": "/content/en/home.json"
}Response
OK
Example response
{
"response": {
"data": {
"translationImportErrors": [
{
"fileUri": "/content/en/home.json",
"stringHashcode": "d41d8cd98f00b204e9800998ecf8427e"
}
]
}
}
}Changes
- breaking
added the pattern
^[a-z0-9]{9}$to thepathrequest parameterprojectId - breaking
added the pattern
^[a-z]{2}(-[A-Z]{2})?$to thepathrequest parameterlocaleId - breaking
added to the
request propertyallOflist - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the
/////response's property type changed fromstringto no type for status - info
the request property
became optional - info
the
request property default valuePUBLISHEDwas added - info
added the new
POST_TRANSLATION_PREPUBLISHenum value to the request property - info
added the new
androidenum value to the request property - info
added the new
arbenum value to the request property - info
added the new
csvenum value to the request property - info
added the new
gettextenum value to the request property - info
added the new
iosenum value to the request property - info
added the new
javaPropertiesenum value to the request property - info
added the new
jsonenum value to the request property - info
added the new
presenum value to the request property - info
added the new
qtenum value to the request property - info
added the new
resxenum value to the request property - info
added the new
srtenum value to the request property - info
added the new
stringsdictenum value to the request property - info
added the new
vttenum value to the request property - info
added the new
xliffenum value to the request property - info
added the new
xliff2enum value to the request property - info
added the new
xmlenum value to the request property - info
added the new
yamlenum value to the request property - info
the
request property type was generalized fromstringto no type - info
added to the
/////response propertyallOflist for the response status
- breaking
- breaking
removed the enum value
androidof the request property - breaking
removed the enum value
csvof the request property - breaking
removed the enum value
gettextof the request property - breaking
removed the enum value
iosof the request property - breaking
removed the enum value
java_propertiesof the request property - breaking
removed the enum value
jsonof the request property - breaking
removed the enum value
presof the request property - breaking
removed the enum value
qtof the request property - breaking
removed the enum value
resxof the request property - breaking
removed the enum value
srtof the request property - breaking
removed the enum value
stringsdictof the request property - breaking
removed the enum value
xmlof the request property - breaking
removed the enum value
yamlof the request property - info
the
request property default valuefalsewas added
- breaking