Export a translation file of a specific language, and a specific file type, with possible filters.
For default language LANGUAGE_GUID=”default” can be used
Supported Attributes (body params)
Name | Type | Description | |
---|---|---|---|
fileType | string | The file type format to be exported. | Required |
translationFilters | array of objects | Filters for the export API, will contain | Optional |
publishStatus | object | The available publish status attributes for the export | Optional |
“translationFilters” item
Name | Type | Description | |
---|---|---|---|
collectionName | string | Required | |
deployableId | number | Id of the deployable | Optional |
deployableType | number | Type of the deployable | Optional |
isWysiwygTranslationItem | boolean | Wysiwyg or regular translation item | Optional |
languageType | number | Optional | |
relatedObjectId | number | Optional |
“publishStatus” object
Name | Type | Description | |
---|---|---|---|
envId | number | The Id of the Environment to be exported | Required |
types | array | The status of the content to be exported according to the selected envId as shown in the Editor. | Required |
If publish status is not provided, default value will be used:
{
envId: 0,
types: [ “published”, “publishedAndModified”, “draft” ]
}
Response
As a response, you will get the Job State Object back