Skip to main content
https://.thoughtindustries.com

Upload Xliff

Uploads an XLIFF file to update the translations for the specified learning path

Uploads an XLIFF file to update the translations for the specified learning path.

PUThttps://example.thoughtindustries.com/incoming/v2/content/learningPaths/:id.xlf

:::caution The request body must be the raw XLIFF XML document itself (not JSON), sent with a Content-Type of text/xml or application/xml. Any other content type returns 415 with invalid content type, must be text/xml. A missing or empty body returns 400 with invalid xml body. :::

Example request

curl -X PUT "https://example.thoughtindustries.com/incoming/v2/content/learningPaths/:id.xlf" \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: text/xml' \
  --data-binary @translated-learning-path.xlf

Parameters

NameTypeRequiredLocationDescription
iduuidYespathUnique identifier of the learning path to update.
(body)stringYesbodyRaw XLIFF XML document, up to 1MB, sent as the entire request body with a text/xml or application/xml content type.

Example response

true