Parameters | Description |
---|---|
project_id | Project ID |
Parameters | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
project_id | The unique id of the requested project. | ||||||||||||||
project_type | Translation | Expert Translation | Proofreading | Transcription | Translation + Proofreading | ||||||||||||||
project_status | Waiting for a translator Waiting for a proofreader Being translated Translation received, proofreading in progress Translation received Proofed document received Finished Cancelled Dispute submitted Error | ||||||||||||||
project_status_code | pending | in_progress | submitted | signed | completed | cancelled | disputed | error
|
||||||||||||||
source_language | See Language Codes. | ||||||||||||||
target_language | See Language Codes. | ||||||||||||||
resources |
|
||||||||||||||
wordcount | length | Project word count or length in seconds in case of transcription projects. | ||||||||||||||
custom 0..9 | This field has all custom fields if any were given. | ||||||||||||||
resource_binding | In case of multiple source files, this field will list all source files UUIDs and their corresponding translated files UUIDs. | ||||||||||||||
linguist_uuid | Project linguist UUID. | ||||||||||||||
tag | List of all project tags. Empty if none was given. | ||||||||||||||
following_project_id | In case of translation + editing project this field will show editing project ID. This field appears only after translation part of the project is completed. |
Request Example
curl --request GET "https://www.onehourtranslation.com/api/2/projects/1847?secret_key=<SECRET_KEY>&public_key=<PUBLIC_KEY>"
Response Example
{
"status":
{
"code":0,
"msg":"ok"
},
"results":
{
"project_id":"1847",
"project_type":"Translation",
"project_status":"Being translated",
"project_status_code":"signed",
"source_language":"en-us",
"target_language":"ar-sa",
"resources":
{
"sources":
[
"rsc-527106ac63a448-25531129",
"rsc-527116d8f07a02-60735023"
],
"translations":
[
"rsc-52724b2ac6b853-07164235",
"rsc-52724b87972dd9-50051784"
],
"proofs":[],
"transcriptions":[],
"results":
[
"rsc-52724b2ac6b853-07164235",
"rsc-52724b87972dd9-50051784"
],
"reference":""
[
"rsc-588871f39769a4-35159344",
"rsc-5888b3fca86387-77358228"
],
},
"wordcount":"1456",
"custom": {
"api_custom_0": "First custom field",
"api_custom_1": "Second custom field",
"api_custom_2": "Third custom field",
},
"resource_binding": {
"rsc-527106ac63a448-25531129": [
"rsc-52724b2ac6b853-07164235"
],
"rsc-527116d8f07a02-60735023": [
"rsc-52724b87972dd9-50051784"
],
"rsc-52724b2ac6b853-07164235": null,
"rsc-52724b87972dd9-50051784": null,
},
"linguist_uuid": "4bd322c1-eea5-4a02-8390-ea0bd49e9422",
"tags": [
"Tag one",
"Tag two"
],
"following_project_id": "2001"
},
"errors":[]
}