Create a job
Create a new job.
Authorizations
Enter your token in the format token TOKEN
Headers
Two-Factor-Authentication token (optional)
Path Parameters
Project ID
Body
Job name
"de"
specify the branch to use
"my-feature-branch"
The API id of the source language
"abcd1234cdef1234abcd1234cdef1234"
Briefing for the translators
"de-DE"
Date the job should be finished
"2017-08-15"
URL to a ticket for this job (e.g. Jira, Trello)
"https://example.atlassian.net/browse/FOO"
tags of keys that should be included within the job
["myUploadTag"]ids of keys that should be included within the job
["abcd1234cdef1234abcd1234cdef1234"]List of target locales for the job. Mutually exclusive with job_template_id.
["abcd1234cdef1234abcd1234cdef1234"]id of a job template you would like to model the created job after. Any manually added parameters will take preference over template attributes. Mutually exclusive with target_locale_ids.
"abcd1234cdef1234abcd1234cdef1234"
Automatically translate the job using machine translation.
true
Response
Created
{
"id": "abcd1234cdef1234abcd1234cdef1234",
"name": "My Android Project",
"main_format": "xml",
"created_at": "2015-01-28T09:52:53Z",
"updated_at": "2015-01-28T09:52:53Z"
}{ "name": "new-branch" }The ID of the automation that created this job, or null if the job was created manually.
The ID of the job template this job was created from, or null if no template was used.
{
"id": "abcd1234cdef1234abcd1234cdef1234",
"username": "johndoe",
"name": "John Doe",
"gravatar_uid": "205e460b479e2e5b48aec07710c08d50"
}{
"id": "abcd1234cdef1234abcd1234cdef1234",
"name": "English",
"code": "en-GB"
}Returned only when include_annotations=true is supplied on the request.
true if the job has been locked by the project's job-locking workflow (translations attached to the job are read-only until the job advances).