File

Upload Zip File

Uploads an archive containing source files in .zip format, which will be extracted and used during project creation.

Status of the upload operation can be tracked using the Poll Upload Zip File endpoint.

Once this Upload Zip File operation has finished extracting the files, they can be added to the desired project using the Attach Source Files endpoint. Alternatively, they can be used to Request File Analysis details like word counts and estimated costs.

Consider the file and project size limit when uploading files.

post/files

Request

  • Base URL
    https://api.eu.cloud.trados.com/public-api/v1
  • URL
    https://api.eu.cloud.trados.com/public-api/v1/files
  • Auth
    none declared. Required headers: Authorization, X-LC-Tenant

Headers

Authorizationstring required

The bearer access token provided by Auth0.

X-LC-Tenantstring required

The identifier of the account where the request is executed.

Request body multipart/form-data

filestring binary required

The .zip file to be uploaded (binary string).

Response

idstring required

The identifier of the uploaded file

fileNamestring required

The name of the uploaded file

unzipStatus'queued' | 'extracting' | 'extracted' | 'unzipError'

The status of the unzipping operation. You can use this to determine if your .zip file has been extracted successfully.

Changes

No recorded changes to this operation across all 87 revisions of this API.