Download OpenAPI specification:Download
Allows user to manage Translation Project such as creating new translation project, adding jobs, updating projects, adding content in all or subset of project's jobs.
Summary of the steps executed on call of this API
ACCEPTED - on successful acknowledgement of request.
Bad request.
Authorization information is missing or invalid.
Forbidden, request was not authorized
Resource was not Found.
Pre condition failed
Internal server error
{- "title": "Translation Project",
- "tifConfig": "/conf/global",
- "useSitesConfig": false,
- "sourceLanguage": "en",
- "destinationLanguage": [
- "fr",
- "hi"
], - "translateContent": {
- "sourcePath": [
- "/content/wknd/language-masters/en/magazine"
], - "addChildPages": true,
- "languageMask": [
- "fr"
]
}, - "automaticApproveEnable": true,
- "automaticPromoteLaunchEnable": true,
- "automaticDeleteLaunchEnable": false,
- "automaticStartTranslation": true
}
{- "asyncJobId": "asyncJobId",
- "userId": "userId",
- "status": "PROCESSING",
- "operation": "Project Creation",
- "submittedAt": 1669800608790,
- "startedAt": 1669800608999,
- "asyncResultItem": [
- {
- "resourceId": "resourceId",
- "resourceLink": "adobe/translation/resource/resourceId",
- "resourceType": "Resource Type",
- "stage": "Resource Creation",
- "asyncResultMessage": [
- {
- "messageType": "Resource Creation",
- "message": "Resource Created Successfully"
}, - {
- "messageType": "Embedded Resource Execution1",
- "message": "Execution1 message"
}, - {
- "messageType": "Embedded Resource Execution2",
- "message": "Execution2 message"
}
]
}
]
}
To retrieve a JSON representation of Translation Project.
OK
Authorization information is missing or invalid.
Forbidden, request was not authorized
Resource was not Found.
Internal server error
{- "id": "translation_project",
- "title": "Translation Project",
- "description": "Translation Project",
- "tifConfig": "/conf/global",
- "sourceLanguage": "en",
- "destinationLanguage": [
- "fr",
- "hi"
], - "status": "Active",
- "translationMethod": "MACHINE_TRANSLATION",
- "translationProvider": "microsoft",
- "automaticApproveEnable": true,
- "automaticPromoteLaunchEnable": true,
- "automaticDeleteLaunchEnable": false,
- "createdAt": 1666068134296,
- "createdBy": "admin",
- "lastModifiedAt": 1666068134420,
- "lastModifiedBy": "admin",
- "translationJob": [
- {
- "id": "translationjob",
- "title": "Translation Job [FR]",
- "destinationLanguage": "fr",
- "translationStatus": "APPROVED"
}, - {
- "id": "translationjob0",
- "title": "Translation Job [HI]",
- "destinationLanguage": "hi",
- "translationStatus": "DRAFT"
}
]
}
OK
Bad request.
Authorization information is missing or invalid.
Forbidden, request was not authorized
Resource was not Found.
Pre condition failed
Internal server error
{- "title": "Translation Project",
- "tifConfig": "/conf/wknd",
- "sourceLanguage": "en",
- "destinationLanguage": [
- "de",
- "hi"
], - "automaticApproveEnable": true,
- "automaticPromoteLaunchEnable": true,
- "automaticDeleteLaunchEnable": true
}
{- "id": "translation_project",
- "title": "Translation Project",
- "description": "Translation Project",
- "tifConfig": "/conf/global",
- "sourceLanguage": "en",
- "destinationLanguage": [
- "fr",
- "hi"
], - "status": "Active",
- "translationMethod": "MACHINE_TRANSLATION",
- "translationProvider": "microsoft",
- "automaticApproveEnable": true,
- "automaticPromoteLaunchEnable": true,
- "automaticDeleteLaunchEnable": false,
- "createdAt": 1666068134296,
- "createdBy": "admin",
- "lastModifiedAt": 1666068134420,
- "lastModifiedBy": "admin",
- "translationJob": [
- {
- "id": "translationjob",
- "title": "Translation Job [FR]",
- "destinationLanguage": "fr",
- "translationStatus": "APPROVED"
}, - {
- "id": "translationjob0",
- "title": "Translation Job [HI]",
- "destinationLanguage": "hi",
- "translationStatus": "DRAFT"
}
]
}
Delete Translation Project.
OK
Bad request.
Authorization information is missing or invalid.
Forbidden, request was not authorized
Resource was not Found.
Internal server error
{- "type": "AEMT0000",
- "message": "ERROR_TITLE",
- "detail": "problem details.",
- "instance": "Translation Projects or JobPods ID"
}
Following result can be achieved if you add content using this API.
Following result can be achieved if you delete content using this API.
ACCEPTED - on successful acknowledgement of request.
Bad request.
Authorization information is missing or invalid.
Forbidden, request was not authorized
Resource was not Found.
Pre condition failed
Internal server error
{- "add": {
- "sourcePath": [
- "/content/wknd/language-masters/en/adventures"
], - "addChildPages": true,
- "languageMask": [
- "fr"
]
}, - "automaticStartTranslation": false
}
{- "asyncJobId": "asyncJobId",
- "userId": "userId",
- "status": "PROCESSING",
- "operation": "Project Creation",
- "submittedAt": 1669800608790,
- "startedAt": 1669800608999,
- "asyncResultItem": [
- {
- "resourceId": "resourceId",
- "resourceLink": "adobe/translation/resource/resourceId",
- "resourceType": "Resource Type",
- "stage": "Resource Creation",
- "asyncResultMessage": [
- {
- "messageType": "Resource Creation",
- "message": "Resource Created Successfully"
}, - {
- "messageType": "Embedded Resource Execution1",
- "message": "Execution1 message"
}, - {
- "messageType": "Embedded Resource Execution2",
- "message": "Execution2 message"
}
]
}
]
}
Any one of the following operations can be performed using this API:
User can use "languageMask" parameter to mask the execution of job on subset of project's target language instead of complete set.
ACCEPTED - on successful acknowledgement of request.
Bad request.
Authorization information is missing or invalid.
Forbidden, request was not authorized
Resource was not Found.
Pre condition failed
Internal server error
{- "command": "START"
}
{- "asyncJobId": "asyncJobId",
- "userId": "userId",
- "status": "PROCESSING",
- "operation": "Project Creation",
- "submittedAt": 1669800608790,
- "startedAt": 1669800608999,
- "asyncResultItem": [
- {
- "resourceId": "resourceId",
- "resourceLink": "adobe/translation/resource/resourceId",
- "resourceType": "Resource Type",
- "stage": "Resource Creation",
- "asyncResultMessage": [
- {
- "messageType": "Resource Creation",
- "message": "Resource Created Successfully"
}, - {
- "messageType": "Embedded Resource Execution1",
- "message": "Execution1 message"
}, - {
- "messageType": "Embedded Resource Execution2",
- "message": "Execution2 message"
}
]
}
]
}
Allows user can execute operations at Translation job pods level such as updating jobs status and adding content.
To retrieve a JSON representation of Translation Job Pods.
OK
Authorization information is missing or invalid.
Forbidden, request was not authorized
Resource was not Found.
Internal server error
{- "id": "translationjob",
- "title": "Translation Job [FR]",
- "destinationLanguage": "fr",
- "translationStatus": "APPROVED",
- "contents": [
- {
- "id": "/content/projects/translation_project/jcr:content/dashboard/gadgets/translationjob/child_pages/magazine",
- "title": "Magazine",
- "sourcePath": "/content/wknd/language-masters/en/magazine",
- "contentPath": "/content/wknd/language-masters/fr/magazine",
- "translationStatus": "APPROVED",
- "type": "PAGE"
}, - {
- "id": "/content/projects/translation_project/jcr:content/dashboard/gadgets/translationjob/child_pages/ski_touring",
- "title": "Ski Touring",
- "sourcePath": "/content/wknd/language-masters/en/magazine/ski-touring",
- "contentPath": "/content/wknd/language-masters/fr/magazine/ski-touring",
- "translationStatus": "APPROVED",
- "type": "PAGE"
}
]
}
Delete Translation Job.
OK
Bad request.
Authorization information is missing or invalid.
Forbidden, request was not authorized
Resource was not Found.
Internal server error
{- "type": "AEMT0000",
- "message": "ERROR_TITLE",
- "detail": "problem details.",
- "instance": "Translation Projects or JobPods ID"
}
Any one of the following operations can be performed using this API:
ACCEPTED - on successful acknowledgement of request.
Bad request.
Authorization information is missing or invalid.
Forbidden, request was not authorized
Resource was not Found.
Pre condition failed
Internal server error
{- "command": "START"
}
{- "asyncJobId": "asyncJobId",
- "userId": "userId",
- "status": "PROCESSING",
- "operation": "Project Creation",
- "submittedAt": 1669800608790,
- "startedAt": 1669800608999,
- "asyncResultItem": [
- {
- "resourceId": "resourceId",
- "resourceLink": "adobe/translation/resource/resourceId",
- "resourceType": "Resource Type",
- "stage": "Resource Creation",
- "asyncResultMessage": [
- {
- "messageType": "Resource Creation",
- "message": "Resource Created Successfully"
}, - {
- "messageType": "Embedded Resource Execution1",
- "message": "Execution1 message"
}, - {
- "messageType": "Embedded Resource Execution2",
- "message": "Execution2 message"
}
]
}
]
}
ACCEPTED - on successful acknowledgement of request.
Bad request.
Authorization information is missing or invalid.
Forbidden, request was not authorized
Resource was not Found.
Pre condition failed
Internal server error
{- "add": {
- "sourcePath": [
- "/content/wknd/language-masters/en/adventures"
], - "addChildPages": false,
- "isUpdateTranslationMaster": false
}, - "automaticStartTranslation": false,
- "delete": {
- "sourcePath": [
- "/content/wknd/language-masters/en/magazine/arctic-surfing"
]
}
}
{- "asyncJobId": "asyncJobId",
- "userId": "userId",
- "status": "PROCESSING",
- "operation": "Project Creation",
- "submittedAt": 1669800608790,
- "startedAt": 1669800608999,
- "asyncResultItem": [
- {
- "resourceId": "resourceId",
- "resourceLink": "adobe/translation/resource/resourceId",
- "resourceType": "Resource Type",
- "stage": "Resource Creation",
- "asyncResultMessage": [
- {
- "messageType": "Resource Creation",
- "message": "Resource Created Successfully"
}, - {
- "messageType": "Embedded Resource Execution1",
- "message": "Execution1 message"
}, - {
- "messageType": "Embedded Resource Execution2",
- "message": "Execution2 message"
}
]
}
]
}
ACCEPTED - on successful acknowledgement of request.
Bad request.
Authorization information is missing or invalid.
Forbidden, request was not authorized
Resource was not Found.
Pre condition failed
Internal server error
{- "sourcePath": [
- "/content/wknd/language-masters/en/magazine"
], - "processAllReference": true
}
{- "asyncJobId": "asyncJobId",
- "userId": "userId",
- "status": "PROCESSING",
- "operation": "Project Creation",
- "submittedAt": 1669800608790,
- "startedAt": 1669800608999,
- "asyncResultItem": [
- {
- "resourceId": "resourceId",
- "resourceLink": "adobe/translation/resource/resourceId",
- "resourceType": "Resource Type",
- "stage": "Resource Creation",
- "asyncResultMessage": [
- {
- "messageType": "Resource Creation",
- "message": "Resource Created Successfully"
}, - {
- "messageType": "Embedded Resource Execution1",
- "message": "Execution1 message"
}, - {
- "messageType": "Embedded Resource Execution2",
- "message": "Execution2 message"
}
]
}
]
}
ACCEPTED - on successful acknowledgement of request.
Bad request.
Authorization information is missing or invalid.
Forbidden, request was not authorized
Resource was not Found.
Pre condition failed
Internal server error
{- "sourcePath": [
- "/content/wknd/language-masters/en/magazine"
], - "processAllReference": true
}
{- "asyncJobId": "asyncJobId",
- "userId": "userId",
- "status": "PROCESSING",
- "operation": "Project Creation",
- "submittedAt": 1669800608790,
- "startedAt": 1669800608999,
- "asyncResultItem": [
- {
- "resourceId": "resourceId",
- "resourceLink": "adobe/translation/resource/resourceId",
- "resourceType": "Resource Type",
- "stage": "Resource Creation",
- "asyncResultMessage": [
- {
- "messageType": "Resource Creation",
- "message": "Resource Created Successfully"
}, - {
- "messageType": "Embedded Resource Execution1",
- "message": "Execution1 message"
}, - {
- "messageType": "Embedded Resource Execution2",
- "message": "Execution2 message"
}
]
}
]
}
Allows users to execute Sync Language Copy process - by creating new sync process instance and updating the status of instance.
It allows users to Sync Language Copy by creating new sync process instance. User can get the status of the process using “Get Sync LC Process Status” API.
Created.
Bad request.
Authorization information is missing or invalid.
Forbidden, request was not authorized
Resource was not Found.
Pre condition failed
Internal server error
{- "sourcePath": "/content/dam/wknd/en/magazine",
- "destinationLanguage": [
- "fr"
], - "title": "titleForTheProcess"
}
{- "id": "string",
- "title": "string",
- "status": "RUNNING",
- "startedAt": 0,
- "endedAt": 0,
- "message": "string"
}
Get Sync LC Process Status
Ok
Bad request.
Authorization information is missing or invalid.
Forbidden, request was not authorized
Resource was not Found.
Internal server error
{- "id": "string",
- "title": "string",
- "status": "RUNNING",
- "startedAt": 0,
- "endedAt": 0,
- "message": "string"
}
Either SUSPEND or ABORT operation can be performed using this API. Sync process should be in RUNNING state in order to execute this API successfully.
Ok
Bad request.
Authorization information is missing or invalid.
Forbidden, request was not authorized
Resource was not Found.
Pre condition failed
Internal server error
{- "operation": "SUSPEND"
}
{- "id": "string",
- "title": "string",
- "status": "RUNNING",
- "startedAt": 0,
- "endedAt": 0,
- "message": "string"
}
Some API requests support an asynchronous invocation mode. User can use this API to get the async execution status. Response will include links to resources affected by the operation.
Ok
See other
Authorization information is missing or invalid.
Forbidden, request was not authorized
Resource was not Found.
Internal server error
{- "asyncJobId": "asyncJobId",
- "userId": "userId",
- "status": "PROCESSING",
- "operation": "Project Creation",
- "submittedAt": 1669800608790,
- "startedAt": 1669800608999,
- "asyncResultItem": [
- {
- "resourceId": "resourceId",
- "resourceLink": "adobe/translation/resource/resourceId",
- "resourceType": "Resource Type",
- "stage": "Resource Creation",
- "asyncResultMessage": [
- {
- "messageType": "Resource Creation",
- "message": "Resource Created Successfully"
}, - {
- "messageType": "Embedded Resource Execution1",
- "message": "Execution1 message"
}, - {
- "messageType": "Embedded Resource Execution2",
- "message": "Execution2 message"
}
]
}
]
}
A number of events are emitted for translation job creation and state updates. For more details about how these events can be handled, please head over to the Adobe I/O Events Documentation linked below.
Event triggered when a translation job is created in AEM.
id required | string non-empty An identifier for the event. When used in combination with the |
source required | string <uri> non-empty ^acct:aem(-cmstg)?-p\d+-e\d+@adobe\.com$ An instance of the acct URI scheme that uniquely identifies the
producer of this event, of the format |
specversion required | string >= 3 characters The version of the CloudEvents specification which the event uses. AEM events use the CloudEvents spec version 1.0.2, hence this value will be 1.0. |
type required | string >= 4 characters ^aem\.*$ The type for the event. This will identify the AEM solution that has dispatched the event and may also include the type of entity and the activity that occurred. |
datacontenttype required | string non-empty The format of the data in the event. This will always be |
dataschema | string <uri> An optional attribute, which may point to a JSON schema document that covers the data object. |
time required | string <date-time> non-empty A timestamp of when the event occurred. |
required | object The event payload. |
AEM translation job created event data is received successfully
{- "specversion": 1,
- "type": "aem.core.translation.job.created",
- "source": "acct:aem-p56789-e12345@adobe.com",
- "id": "7c1104e5-4cd7-47d6-a50f-2568c480f2e9",
- "time": "2018-04-05T17:31:00Z",
- "datacontenttype": "application/json",
- "data": {
- "jobPath": "string",
- "jobStatus": "DRAFT",
- "jobDestinationLanguage": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "jobMetadata": {
- "projectPath": "string",
- "sourceLanguage": "string",
- "connectorName": "string",
- "translationMethod": "MACHINE_TRANSLATION",
- "automaticScheduled": true,
- "automaticPromoteLaunchEnable": true,
- "automaticDeleteLaunchEnable": true,
- "automaticApproveEnable": true
}, - "user": {
- "imsUserId": "string",
- "principalId": "string",
- "displayName": "string"
}
}
}
Event triggered when a translation job is updated in AEM.
id required | string non-empty An identifier for the event. When used in combination with the |
source required | string <uri> non-empty ^acct:aem(-cmstg)?-p\d+-e\d+@adobe\.com$ An instance of the acct URI scheme that uniquely identifies the
producer of this event, of the format |
specversion required | string >= 3 characters The version of the CloudEvents specification which the event uses. AEM events use the CloudEvents spec version 1.0.2, hence this value will be 1.0. |
type required | string >= 4 characters ^aem\.*$ The type for the event. This will identify the AEM solution that has dispatched the event and may also include the type of entity and the activity that occurred. |
datacontenttype required | string non-empty The format of the data in the event. This will always be |
dataschema | string <uri> An optional attribute, which may point to a JSON schema document that covers the data object. |
time required | string <date-time> non-empty A timestamp of when the event occurred. |
required | object The event payload. |
AEM translation job update event data is received successfully
{- "specversion": 1,
- "type": "aem.core.translation.job.updated",
- "source": "acct:aem-p56789-e12345@adobe.com",
- "id": "7c1104e5-4cd7-47d6-a50f-2568c480f2e9",
- "time": "2018-04-05T17:31:00Z",
- "datacontenttype": "application/json",
- "data": {
- "jobPath": "string",
- "jobStatus": "DRAFT",
- "jobDestinationLanguage": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "translationObjectCount": {
- "page": 0,
- "asset": 0,
- "contentFragment": 0,
- "i18nComponentStringDict": 0,
- "assetMetaData": 0,
- "tagMetadata": 0,
- "tag": 0
}, - "jobMetadata": {
- "projectPath": "string",
- "sourceLanguage": "string",
- "connectorName": "string",
- "translationMethod": "MACHINE_TRANSLATION",
- "automaticScheduled": true,
- "automaticPromoteLaunchEnable": true,
- "automaticDeleteLaunchEnable": true,
- "automaticApproveEnable": true
}, - "user": {
- "imsUserId": "string",
- "principalId": "string",
- "displayName": "string"
}
}
}
Event triggered when a content update is started in translation job.
id required | string non-empty An identifier for the event. When used in combination with the |
source required | string <uri> non-empty ^acct:aem(-cmstg)?-p\d+-e\d+@adobe\.com$ An instance of the acct URI scheme that uniquely identifies the
producer of this event, of the format |
specversion required | string >= 3 characters The version of the CloudEvents specification which the event uses. AEM events use the CloudEvents spec version 1.0.2, hence this value will be 1.0. |
type required | string >= 4 characters ^aem\.*$ The type for the event. This will identify the AEM solution that has dispatched the event and may also include the type of entity and the activity that occurred. |
datacontenttype required | string non-empty The format of the data in the event. This will always be |
dataschema | string <uri> An optional attribute, which may point to a JSON schema document that covers the data object. |
time required | string <date-time> non-empty A timestamp of when the event occurred. |
required | object The event payload. |
AEM translation job content update start event data is received successfully
{- "specversion": 1,
- "type": "aem.core.translation.job.content.update.started",
- "source": "acct:aem-p56789-e12345@adobe.com",
- "id": "7c1104e5-4cd7-47d6-a50f-2568c480f2e9",
- "time": "2018-04-05T17:31:00Z",
- "datacontenttype": "application/json",
- "data": {
- "jobPath": "string",
- "operation": "ADDITION",
- "jobStatus": "DRAFT",
- "jobDestinationLanguage": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "jobMetadata": {
- "projectPath": "string",
- "sourceLanguage": "string",
- "connectorName": "string",
- "translationMethod": "MACHINE_TRANSLATION",
- "automaticScheduled": true,
- "automaticPromoteLaunchEnable": true,
- "automaticDeleteLaunchEnable": true,
- "automaticApproveEnable": true
}, - "user": {
- "imsUserId": "string",
- "principalId": "string",
- "displayName": "string"
}
}
}
Event triggered when a content update is completed in translation job.
id required | string non-empty An identifier for the event. When used in combination with the |
source required | string <uri> non-empty ^acct:aem(-cmstg)?-p\d+-e\d+@adobe\.com$ An instance of the acct URI scheme that uniquely identifies the
producer of this event, of the format |
specversion required | string >= 3 characters The version of the CloudEvents specification which the event uses. AEM events use the CloudEvents spec version 1.0.2, hence this value will be 1.0. |
type required | string >= 4 characters ^aem\.*$ The type for the event. This will identify the AEM solution that has dispatched the event and may also include the type of entity and the activity that occurred. |
datacontenttype required | string non-empty The format of the data in the event. This will always be |
dataschema | string <uri> An optional attribute, which may point to a JSON schema document that covers the data object. |
time required | string <date-time> non-empty A timestamp of when the event occurred. |
required | object The event payload. |
AEM translation job content update complete event data is received successfully
{- "specversion": 1,
- "type": "aem.core.translation.job.content.update.completed",
- "source": "acct:aem-p56789-e12345@adobe.com",
- "id": "7c1104e5-4cd7-47d6-a50f-2568c480f2e9",
- "time": "2018-04-05T17:31:00Z",
- "datacontenttype": "application/json",
- "data": {
- "jobPath": "string",
- "operation": "ADDITION",
- "jobStatus": "DRAFT",
- "jobDestinationLanguage": "string",
- "completedAt": "2019-08-24T14:15:22Z",
- "translationObjectCount": {
- "page": 0,
- "asset": 0,
- "contentFragment": 0,
- "i18nComponentStringDict": 0,
- "assetMetaData": 0,
- "tagMetadata": 0,
- "tag": 0
}, - "jobMetadata": {
- "projectPath": "string",
- "sourceLanguage": "string",
- "connectorName": "string",
- "translationMethod": "MACHINE_TRANSLATION",
- "automaticScheduled": true,
- "automaticPromoteLaunchEnable": true,
- "automaticDeleteLaunchEnable": true,
- "automaticApproveEnable": true
}, - "user": {
- "imsUserId": "string",
- "principalId": "string",
- "displayName": "string"
}
}
}
Event triggered on translation rest API execution.
id required | string non-empty An identifier for the event. When used in combination with the |
source required | string <uri> non-empty ^acct:aem(-cmstg)?-p\d+-e\d+@adobe\.com$ An instance of the acct URI scheme that uniquely identifies the
producer of this event, of the format |
specversion required | string >= 3 characters The version of the CloudEvents specification which the event uses. AEM events use the CloudEvents spec version 1.0.2, hence this value will be 1.0. |
type required | string >= 4 characters ^aem\.*$ The type for the event. This will identify the AEM solution that has dispatched the event and may also include the type of entity and the activity that occurred. |
datacontenttype required | string non-empty The format of the data in the event. This will always be |
dataschema | string <uri> An optional attribute, which may point to a JSON schema document that covers the data object. |
time required | string <date-time> non-empty A timestamp of when the event occurred. |
required | object The event payload. |
Translation Rest API execution event data is received successfully
{- "specversion": 1,
- "type": "aem.core.translation.rest.api.execution",
- "source": "acct:aem-p56789-e12345@adobe.com",
- "id": "7c1104e5-4cd7-47d6-a50f-2568c480f2e9",
- "time": "2018-04-05T17:31:00Z",
- "datacontenttype": "application/json",
- "data": {
- "requestId": "string",
- "requestType": "CREATE_PROJECT_EVENT",
- "asyncExecutionId": "string",
- "status": "SUCCESSFUL",
- "startedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "user": {
- "imsUserId": "string",
- "principalId": "string",
- "displayName": "string"
}
}
}