English
cURL
curl "https://api.phrase.com/v2/projects/:project_id/job_templates/:job_template_id/locales/:job_template_locale_id?branch=my-feature-branch" \ -u USERNAME_OR_ACCESS_TOKEN
{ "id": "626ea67628690c73ac86ac81eec2d185", "job_template": { "id": "abcd1234cdef1234abcd1234cdef1234", "name": "template" }, "users": [ { "id": "abcd1234cdef1234abcd1234cdef1234", "username": "joe.doe", "name": "Joe Doe", "role": "translator" } ], "teams": [ { "id": "abcd1234cdef1234abcd1234cdef1234", "name": "Joe's team", "role": "translator" } ], "locale": { "id": "abcd1234cdef1234abcd1234cdef1234", "name": "English", "code": "en-GB" } }
Get a single job template locale for a given job template.
Enter your token in the format token TOKEN
token TOKEN
Two-Factor-Authentication token (optional)
Project ID
Job Template ID
Job Template Locale ID
specify the branch to use
OK
Show child attributes
null
{ "id": "abcd1234cdef1234abcd1234cdef1234", "name": "English", "code": "en-GB"}
Was this page helpful?