Add strings to job
Changed onAdding strings to a job is useful if you don't manage strings / content through files, but instead need to add strings by some other means other than files.
When strings are successfully added to a job, a 200 status is returned. When the system can't quickly add strings to the job, a 202 response status is returned. The response contains a link and processUid to check the progress of the request. When a 202 is received, the process of adding the content to the job will not be complete until the returned process has completed.
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.
Translation job unique identifier — 12 lowercase alphanumeric characters.
Request body
Example request
{
"hashcodes": [
"d41d8cd98f00b204e9800998ecf8427e"
],
"targetLocaleIds": [
"fr-FR"
]
}Response
OK
Changes
- breaking
added the pattern
^[a-z0-9]{12}$to thepathrequest parametertranslationJobUid - breaking
added the pattern
^[a-z0-9]{9}$to thepathrequest parameterprojectId - breaking
added the pattern
^[a-f0-9]{32}$to the request property/ - breaking
added the pattern
^[a-z]{2}(-[A-Z]{2})?$to the request property/ - 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 - info
the
//response's property pattern^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$was added for the status
- breaking
- breaking
the
///response's property type changed fromstringtointegerfor status - breaking
the
///response's property type changed fromstringtointegerfor status
- breaking