Job Batches V2

Process batch action

Changed on

Supports two batch actions:

REGISTER_FILE - Adds given file URI to the initial file name list for uploading. Creates a new batchItem if the batch is in ADDING_FILES status.

CANCEL_FILE - Indicates that file will not be uploaded.
Changes batchItem status to CANCELED and writes reason to "errors" column.

put/job-batches-api/v2/projects/{projectId}/batches/{batchUid}

Request

  • Base URL
    https://api.smartling.com
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

Unique identifier of a Smartling project — 9 lowercase alphanumeric characters.

Example:84c012a33

A unique project identifier. This can be found in the Smartling Dashboard under Account Settings > API.

batchUidstring required

A unique identifier for a batch.

Request body

action'CANCEL_FILE' | 'REGISTER_FILE' required
fileUristring required

File URI to be cancelled or registered. Must not be blank and must not exceed 512 characters.

reasonstring

any text to describe the reason the file is canceled

Response

SUCCESS

Changes