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.
PUT
https://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.xlfParameters
| Name | Type | Required | Location | Description |
|---|---|---|---|---|
id | uuid | Yes | path | Unique identifier of the learning path to update. |
| (body) | string | Yes | body | Raw XLIFF XML document, up to 1MB, sent as the entire request body with a text/xml or application/xml content type. |
Example response
true