Asynchronous processing

Asynchronous operations are triggered via a POST request. The response status in such cases is 202 Accepted, with a link in the Content-Location header. To check the status of the operation, a client can send a request to the location given earlier. An optional callback_url can be provided when the asynchronous operation is triggered. If such url is provided, upon completion a HTTP POST request is executed containing all information required to identify the specific operation:

Example request:

POST callback_url HTTP/1.1
Content-Type: application/json

  "data": {
    "type": resource_strings_async_downloads",
    "id": "xxxxxxxxx",
    "attributes": {
      "location": "",
      "status": "succeeded"