API Developers Guide

Project > Create Proofreading Project (source)

Create new proofreading project (source language only).

POST: /projects/proof-general
Request Params
ParametersDescription

source_language

See Language Codes.

sources

Comma separated list of Resource UUIDs. You can create a project with up to 30 resources at a time. For more than 30 resources please create a new project.

reference_resources

(optional) Comma separated list of reference resource UUIDs.

wordcount

(optional) Integer, if empty use automatic counting.

notes

(optional) Text note that will be shown to translator regarding the newly project.

callback_url

(optional) See Callbacks section.

custom0..9

(optional) Custom parameters 0...9

name

(optional) Name your project. If empty, your project will be named automatically.

tags

(optional) Array of tags.
Customer can provide tags when creating a new project.
Provided tag parameter should be an array of strings, an error will be provided otherwise.
The number of tags for each new project is limited to 10 tags.
Response Params
ParametersDescription

project_id

Unique id of the new project created.

wordcount

Total word count of the new project.

credits

New project total worth.

Request Example

curl --request POST
"https://www.onehourtranslation.com/api/2/projects/proof-general"
--data "secret_key=<SECRET_KEY>&public_key=<PUBLIC_KEY>&source_language=en-us&sources=rsc-527116d8f07a02-60735023"

Response Example

{
 "status":
  {
   "code":0,
   "msg":"ok"
  },
 "results":
  {
   "project_id":"1848",
   "wordcount":10,
   "credits":70
  },
 "errors":[]
}