Automatic Task Type Provider

Submits an automatic task for execution. This call should return 'Accepted' and the task itself should be executed on a different thread. Note that there is a read timeout of 5 seconds for this call. <p>Note: The processing time cannot exceed <b>4h</b> from the moment the task is submitted, otherwise the task will be marked as unresponsive.</p>

post/lc.automatictask.submit

Request

  • Base URL
    https://example.com
  • URL
    https://example.com/lc.automatictask.submit
  • Auth
    none declared

Headers

TR_IDstring

A trace id, to help track problems. If it's not received, an auto-generated value will be used for logging. TR_ID header should also be set on the response.

x-lc-signaturestring

JWS token containing the signature and additional claims.

X-LC-ExtensionPointVersionstring

The extension point version

X-LC-ExtensionIdstring

The extension identifier

X-LC-AppVersionstring

The app version

Request body

projectIdstring

The identifier of the Trados Cloud Platform project.

correlationIdstring

The identifier of the task that needs to be executed. Use this to get more information about the task by using the Trados Cloud Platform API.

callbackUrlstring

The URL to call when the task execution is finished. The method should be a POST and the body should be AutomaticTaskCallbackRequest model. The app should provide the X-LC-Tenant header.

Response

Accepted

Changes

    • info

      the endpoint scheme security LanguageCloudJWSToken was removed from the API

    • info

      added the new optional header request parameter x-lc-signature