Authorizations
Headers
A file name.
A unique Project identifier.
An optional parameter indicating if and how the document will be
pretranslated upon being uploaded.
The accepted values are TM
, or TM+MT
An optional parameter to auto-accept segments with 100% translation
memory matches when the pretranslate
option is also set, or to
auto-accept any target data that is present when the uploaded file
is XLIFF. If omitted it will default to your organization settings for Accept and lock exact matches
,
if set to false
, no segments will be auto-accepted.
An optional parameter to use case sensitive translation memory matching when the pretranslate
option is also enabled. Matches must have identical character-by-character case to qualify as matches.
Default value matches your organization settings for Use case sensitive translation memory matching
setting
An optional parameter to attribute translation authorship of exact matches to the author of the file
when the pretranslate
option is also enabled. Default value matches your organization settings for Translation authorship
setting
An optional pararameter to specify an import configuration to be applied when extracting translatable content from this file.
Body
The file contents to be uploaded. The entire POST body will be treated as the file.
The body is of type file
.
Response
A Document object.
A Document is a collection of zero or more Segments.
A unique number identifying the Document.
46530
A unique number identifying the Project.
287
An ISO 639-1 language identifier.
"en"
An ISO 639-1 language identifier.
"de"
The document name.
"Introduction.xliff"
True if the document is currently being imported
false
True if the import process succeeded.
false
Error message if import_succeeded=false
"Could not parse XML."
True if the document is currently being exported for download
false
True if the export process succeeded.
false
Error message if export_succeeded=false
"Could not parse XML."
True if the document is currently being pretranslated.
false
A list of translations for the query term.
{ "pretranslation": "idle" }
The email of the assigned translator.
"translator@example.com"
The email of the assigned reviewer.
"reviewer@example.com"
Time at which the object was created. Measured in seconds since the Unix epoch.
1489147692
Time at which the object was created. Measured in seconds since the Unix epoch.
1489147692
Document review status.
true
A list of Segments.