Add a new target locale
Changed onAdd a new target locale to the project.
Request
- 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.
Request body
Example request
{
"defaultWorkflowUid": "ac48ht4qy",
"localeId": "fr-FR"
}Response
OK
Example response
{
"response": {
"data": {
"accountUid": "ab5f1939",
"archived": false,
"projectId": "fd7244365",
"projectName": "fd7244365",
"projectTypeCode": "APPLICATION_RESOURCES",
"sourceLocaleDescription": "English",
"sourceLocaleId": "en-US",
"targetLocales": [
{
"description": "Russian (Russia)",
"enabled": true,
"localeId": "ru-RU"
}
]
}
}
}Changes
- breaking
added the pattern
^[a-z0-9]{9}$to thepathrequest parameterprojectId - breaking
added to the
request propertyallOflist - breaking
the
request property type changed fromstringto no type - 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 - breaking
the
///response's property type changed fromstringto no type for status - breaking
the
/////response's property type changed fromstringto no type for status - info
added to the
///response propertyallOflist for the response status - info
added to the
/////response propertyallOflist for the response status - info
added to the
///response propertyallOflist for the response status
- breaking