Upload Xliff
Uploads an XLIFF file to update the translatable content of a course
Uploads an XLIFF file to update the translatable content of a course.
PUT
https://example.thoughtindustries.com/incoming/v2/content/courses/:id.xlfExample request
curl -X PUT "https://example.thoughtindustries.com/incoming/v2/content/courses/:id.xlf" \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"type": "string",
"xmlBody": "string"
}'Parameters
| Name | Type | Required | Location | Description |
|---|---|---|---|---|
id | uuid | Yes | path | The id identifier. |
type | ContentSearchType | Yes | body | The content type classification used to identify the target content for the XLIFF upload. |
xmlBody | string | Yes | body | The raw XLIFF XML content to upload, provided as a string. |
Example response
{
"data": {
"ContentUploadXliff": true
}
}