Get Project Details

GET: /projects/<project_id>
Request params
ParametersDescription
project_idProject ID
Response params
ParametersDescription
project_idThe unique id of the requested project.
project_typeTranslation | Expert Translation | Proofreading | Transcription | Translation + Proofreading
project_statusWaiting 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_codepending | in_progress | submitted | signed | completed | cancelled | disputed | error
  • pending - Project was submitted to OneHourTranslation.
  • in_progress - Translation work in progress.
  • submitted - Translator has uploaded translated file. This does not mean the project is completed.
  • signed - Translator has declered he finished working on the project and all resources have been uploaded.
  • completed - Final state of the project. Project will automatically change state to completed 4 days after translator has signed.
source_languageSee Language Codes.
target_languageSee Language Codes.
resources
ParameterDescription
sourcesList of project source files UUIDs.
translationsIn case of translation project, all translated files UUIDs will be in this field.
proofs In case of proofreading project, all translated files UUIDs will be in this field.
transcriptions In case of transcription project, all translated files UUIDs will be in this field.
resultsThis field returns an array of translated files UUIDs. It doesn't matter what kind of project was submitted, translated files UUIDs will be in this field.
reference In case reference files were provided in the project, this field will have an array of reference files UUIDs.
wordcount | lengthProject word count or length in seconds in case of transcription projects.
custom 0..9This field has all custom fields if any were given.
resource_bindingIn case of multiple source files, this field will list all source files UUIDs and their corresponding translated files UUIDs.
linguist_uuidProject linguist UUID.
tagList of all project tags. Empty if none was given.
following_project_idIn 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":[]
}