Jobs

Remove file from job

Changed on

Removes a file from a job. All content that is part of the file contained within that job will be removed from the job and will become unauthorized content.

When the system can quickly remove the file and its content from the job synchronously, it responds with a 200 status. When the system cannot quickly remove the file and its content from the job, a 202 response is returned. The response contains a link to check the progress of the request. When a 202 is received, the process of removing the file and its content from the job will not be complete until the returned process has completed.

post/jobs-api/v3/projects/{projectId}/jobs/{translationJobUid}/file/remove

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.

translationJobUidstring required

Translation job unique identifier — 12 lowercase alphanumeric characters.

Example:j45v1uvsi3tx

Request body

fileUristring

URI path of a source file within a Smartling project.

Example request

{
  "fileUri": "/content/en/home.json"
}

Response

OK

Changes

    • breaking

      added the pattern ^[a-z0-9]{12}$ to the path request parameter translationJobUid

    • breaking

      added the pattern ^[a-z0-9]{9}$ to the path request parameter projectId

    • breaking

      added to the request property allOf list

    • breaking

      the request property type changed from string to no type

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • info

      the // response's property pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$ was added for the status

    • breaking

      the /// response's property type changed from string to integer for status

    • breaking

      the /// response's property type changed from string to integer for status