Version 1
Connector Overview: This page documents all 53 actions for the Lionbridgeconnector v1.
Archive (2)
PUT Archive a job.
/jobs/{jobId}/archive
Archive a translation job. Once archived, a job and its underlying requests cannot be accessed, until it has been unarchived. This method is asynchronous.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the specified job. |
|
|
N/A |
PUT Unarchive a job.
/jobs/{jobId}/unarchive
Unarchive a translation job. Unarchived jobs are returned when users query for a list of active jobs. This method is asynchronous.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the specified job. |
|
|
N/A |
FileTransfer (3)
POST Initiates uploading file to a job.
/jobs/{jobId}/sourcefiles
Adds a file to the specified jobId. This can then be used to create a translation request. Or it can be used as a support asset to a job that has not been submitted. This method is part of a 2-step process for transferring file to Lionbridge FMS, either using the TUS protocol or POSTing directly as multipart/form-data.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Job ID. |
|
|
Name of file, the max length is 250. This must include a file extension. |
|
|
N/A |
GET Retrieve the source content of translation request as a file.
/jobs/{jobId}/sourcefiles/{fmsFileId}
Retrieve the source content of translation request as a file. The method returns a 307 response code. Clients are expected to follow the url in the Location header. Most HTTP client libraries do this automatically or can be enabled by a configuration setting. For example, cURL has a -L option.
Note that this cannot be used for retrieving translated files. Use the GET /jobs/{jobId}/requests/{requestId}/retrievefile method instead.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the job. |
|
|
The FMS fileId. |
|
|
N/A |
GET Retrieve the target content for translation request as a file.
/jobs/{jobId}/requests/{requestId}/retrievefile
Retrieve the target content of translation request as a file. The method returns a 307 response code. Clients are expected to follow the url in the Location header. Most HTTP client libraries do this automatically or can be enabled by a configuration setting. For example, cURL has a -L option.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the job. |
|
|
The ID of the translation request. |
|
|
N/A |
Job (10)
PUT Complete a job.
/jobs/{jobId}/complete
Set job status to COMPLETED. Prevents further translations from being imported.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the specified job. |
|
|
N/A |
Options (1)
|
Option Name |
Description |
|---|---|
|
|
N/A |
POST Create a new job.
/jobs
Creates a new Translation job. This job acts as a container for translation requests.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
Options (11)
|
Option Name |
Description |
|---|---|
|
|
The name of the translation job. |
|
|
A description of the translation job. |
|
|
PO Reference of the translation job. |
|
|
Due date of the translation job.
|
|
|
Deprecated. Please see extendedMetadata. User specified custom data. |
|
|
Request a quote for the job before translation proceeds. TODO -
|
|
|
The ID of the provider the job will be sent to. Requests under the job will be validated as they are created, prior to submission, if provider capabilities are defined. For more information, please refer to the Provider resource. |
|
|
The official/descriptive name of the connector that is sending the job.
|
|
|
The version number of the connector that is sending the job. |
|
|
The type of service or workflow requested for the job. |
|
|
Reserved for Lionbridge internal services. |
DELETE Delete a job.
/jobs/{jobId}
Delete a translation job. This method should only be used as part of housekeeping activity after a job has been completed or cancelled. It is not intended for cancelling the job.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the specified job. |
|
|
N/A |
GET Query all archived jobs.
/jobs/archived
This method returns a list of archived jobs.
The filter parameter can be used for querying with job fields. For example, to find jobs submitted to provider "my-provider-id" between May 24 and June 3, this filter can be used,
(providerId eq 'my-provider-id') AND (submittedDate lt '2021-06-03' and submittedDate gt '2021-05-24')
As another example, to find jobs not in COMPLETED OR CANCELED status and with dueDate before noon, June 21,
(statusCode ne 'CREATED' AND statusCode ne 'COMPLETED') and (dueDate lt '2021-06-21T12:00')
The following job fields are not supported on the filter and orderBy parameters,
-
description
-
latestErrorMessage
-
archived
-
extendedMetadata
-
requestStats
Parameters
|
Parameter Name |
Description |
||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
N/A |
||||||||||||||||||||||||||||||||||||||||||
|
|
N/A |
||||||||||||||||||||||||||||||||||||||||||
|
|
N/A |
||||||||||||||||||||||||||||||||||||||||||
|
|
The next parameter can be used as a cursor to navigate to the next page when retrieving a list of items. The value is returned as part of a collection response. One can also follow _links.next.href in the response directly. |
||||||||||||||||||||||||||||||||||||||||||
|
|
Comma-separated list of field names to include in response (e.g., "name,status,id"). JobId is always included in the response. If omitted then all the fields are included by default. Valid values are: activityDate, aggregateRequests, archiveStatus, archived, connectorName, connectorVersion, createdDate, creatorId, customData, description, dueDate, estimatedArchivalDate, extendedMetadata, globalTrackingId, hasError, jobName, labels, latestErrorMessage, modifiedDate, poReference, providerId, providerReference, requestStats, serviceType, shouldQuote, siteId, statusCode, submittedDate, submitterId |
||||||||||||||||||||||||||||||||||||||||||
|
|
The filter parameter can be used to filter a collection of resources based on field values. Only items where the expression evaluates
The following operations are supported:
See method description for additional restrictions on fields. |
||||||||||||||||||||||||||||||||||||||||||
|
|
The orderBy parameter can be used to sort the results of a collection query based on field values. At most 1 field name can be specified. The parameter value may include the suffix "asc" for ascending or "desc" for descending, separated from the field name by space. If not included, "asc" is used by default. The parameter must be consistent across pagination. See method description for additional restrictions on fields. |
||||||||||||||||||||||||||||||||||||||||||
|
|
N/A |
GET Query job information.
/jobs/{jobId}
Returns job data.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the job being queried. |
|
|
Specifies what level of detail is returned for a job. The default is full if not specified. Note: FullWithStats is an experimental feature that is not yet supported. |
|
|
N/A |
GET Query jobs that are active, i.e. not archived.
/jobs
This method returns information about Lionbridge translation
jobs. The response includes job IDs and detailed information of all active jobs
for the given user. Jobs are ordered by creation time, in reverse, by default.
The filter parameter can be used for querying with job fields. For example, to find jobs submitted to provider "my-provider-id" between May 24 and June 3, this filter can be used,
(providerId eq 'my-provider-id') AND (submittedDate lt '2021-06-03' and submittedDate gt '2021-05-24')
As another example, to find jobs not in COMPLETED OR CANCELED status and with dueDate before noon, June 21,
(statusCode ne 'CREATED' AND statusCode ne 'COMPLETED') and (dueDate lt '2021-06-21T12:00')
The following job fields are not supported on the filter and orderBy parameters,
-
description
-
latestErrorMessage
-
archived
-
extendedMetadata
-
requestStats
Parameters
|
Parameter Name |
Description |
||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
N/A |
||||||||||||||||||||||||||||||||||||||||||
|
|
N/A |
||||||||||||||||||||||||||||||||||||||||||
|
|
N/A |
||||||||||||||||||||||||||||||||||||||||||
|
|
Specifies what level of detail is returned for a job. The default is full if not specified. Note: FullWithStats is an experimental feature that is not yet supported. |
||||||||||||||||||||||||||||||||||||||||||
|
|
The next parameter can be used as a cursor to navigate to the next page when retrieving a list of items. The value is returned as part of a collection response. One can also follow _links.next.href in the response directly. |
||||||||||||||||||||||||||||||||||||||||||
|
|
Comma-separated list of field names to include in response (e.g., "name,status,id"). JobId is always included in the response. If omitted then all the fields are included by default. Valid values are: activityDate, aggregateRequests, archiveStatus, archived, connectorName, connectorVersion, createdDate, creatorId, customData, description, dueDate, estimatedArchivalDate, extendedMetadata, globalTrackingId, hasError, jobName, labels, latestErrorMessage, modifiedDate, poReference, providerId, providerReference, requestStats, serviceType, shouldQuote, siteId, statusCode, submittedDate, submitterId |
||||||||||||||||||||||||||||||||||||||||||
|
|
The filter parameter can be used to filter a collection of resources based on field values. Only items where the expression evaluates
The following operations are supported:
See method description for additional restrictions on fields. |
||||||||||||||||||||||||||||||||||||||||||
|
|
The orderBy parameter can be used to sort the results of a collection query based on field values. At most 1 field name can be specified. The parameter value may include the suffix "asc" for ascending or "desc" for descending, separated from the field name by space. If not included, "asc" is used by default. The parameter must be consistent across pagination. See method description for additional restrictions on fields. |
||||||||||||||||||||||||||||||||||||||||||
|
|
N/A |
PUT Send/Submit job to provider.
/jobs/{jobId}/submit
Submit job to provider, when all translation requests have been added.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the specified job. |
|
|
N/A |
Options (1)
|
Option Name |
Description |
|---|---|
|
|
Unique identifier representing a provider. |
PUT Un-complete a job.
/jobs/{jobId}/intranslation
Set job status to IN_TRANSLATION. Allows further translations from being imported again. Only valid when job is currently COMPLETED.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the specified job. |
|
|
N/A |
Options (1)
|
Option Name |
Description |
|---|---|
|
|
N/A |
PATCH Update a job's information.
/jobs/{jobId}
Update a job's information. Only jobs that have not been submitted can be updated.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the job being updated. |
|
|
N/A |
Options (11)
|
Option Name |
Description |
|---|---|
|
|
The name of the translation job. |
|
|
A description of the translation job. |
|
|
PO Reference of the translation job. |
|
|
Due date of the translation job.
|
|
|
Deprecated. Please see extendedMetadata. User specified custom data. |
|
|
Request a quote for the job before translation proceeds. TODO -
|
|
|
The ID of the provider the job will be sent to. Requests under the job will be validated as they are created, prior to submission, if provider capabilities are defined. For more information, please refer to the Provider resource. |
|
|
The official/descriptive name of the connector that is sending the job.
|
|
|
The version number of the connector that is sending the job. |
|
|
The type of service or workflow requested for the job. |
|
|
Not Yet Implemented. Optional parameter to control how many requests with inline source content gets aggregated into one asset when submitting a job. In most cases, leave it unspecified. |
PUT Update a job's information.
/jobs/{jobId}
Please use PATCH /jobs/{jobId} instead.
Update a job's information. Only jobs that have not been submitted can
be updated.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the job being updated. |
|
|
N/A |
Options (10)
|
Option Name |
Description |
|---|---|
|
|
The name of the translation job. |
|
|
A description of the translation job. |
|
|
PO Reference of the translation job. |
|
|
Due date of the translation job.
|
|
|
Deprecated. Please see extendedMetadata. User specified custom data. |
|
|
Request a quote for the job before translation proceeds. TODO -
|
|
|
The ID of the provider the job will be sent to. Requests under the job will be validated as they are created, prior to submission, if provider capabilities are defined. For more information, please refer to the Provider resource. |
|
|
The official/descriptive name of the connector that is sending the job.
|
|
|
The version number of the connector that is sending the job. |
|
|
The type of service or workflow requested for the job. |
Listener (7)
POST Create a new Listener.
/statusupdates/listeners
Creates a listener for job or request event callbacks. User can specify the status(es) for triggering callbacks, and the URI for receiving HTTP requests from the API. Only 1 listener of each type is allowed. On successful creation, a secret is returned in the response. This can be used to verify the callback. For more information, please see the callback definitions for details.
The user-specified endpoint is expected to return 200 on success. If the callback delivery fails, the API retries
for up to 24 hours with an exponential backoff.
If callback retries exceed 24 hours and still cannot get successful response, callback retry will be stopped, and the listener will be marked as permanent probation. Under permanent probation, no further callbacks will be generated.
User can PATCH the existing listener with repaired endpoint address to reset the listener.
The recommended approach for integration is to always accept the callback upon receipt. A typical approach would be to:
1. Accept the payload and immediately return HTTP 200 OK, then
2. Perform business logic as necessary,
3. Or discard the event.
The endpoint may receive many requests depending on activities on the API. Consider separating the event ingestion in Step 1 and asynchronosly perform business logic in Step 2.
Due to the nature of webhook delivery, events are not guaranteed to be in order.
For example, a job was first set to COMPLETE status and subsequently archived.
Suppose the endpoint was not available when the COMPLETE webhook was sent, but recovered when the job was archived.
The archived webhook would arrived first, then later the COMPLETE webhook on the next retry.
Ensure the integration can handle out-of-order events gracefully.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
Options (5)
|
Option Name |
Description |
|---|---|
|
|
The URI that Lionbridge POSTs to once a specific event has fired. Only HTTPS is supported. |
|
|
The type of listener. JOB_STATUS_UPDATE will send events only about the job as a whole. REQUEST_STATUS_UPDATE will send events on request changes within the job. |
|
|
Status codes that result in a listener event. |
|
|
Authentication type for listener.
|
|
|
Optional parameter to indicate if the corresponding StatusUpdate should be acknowledged automatically. Defaults to true if not specified. When set to false, the client is expected to acknowledge the StatusUpdate manually, to avoid running into quota limitation. For more information, please refer to the StatusUpdate resource. |
DELETE Delete a Listener.
/statusupdates/listeners/{listenerId}
Delete a Listener.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the specified Listener. |
|
|
N/A |
GET List failed payloads being retried.
/statusupdates/listeners/{listenerId}/invocations/pending
List failed payloads that are currently being retried
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the Listener. |
|
|
query the payloads after it. If not specified, only failures within the last 24 hours are returned. |
|
|
The next parameter can be used as a cursor to navigate to the next page when retrieving a list of items. The value is returned as part of a collection response. One can also follow _links.next.href in the response directly. |
|
|
N/A |
GET List failed payloads not being retried.
/statusupdates/listeners/{listenerId}/invocations/failed
List failed payloads that are considered in error and not being retried
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the Listener. |
|
|
query the payloads after it. If not specified, only failures within the last 24 hours are returned. |
|
|
The next parameter can be used as a cursor to navigate to the next page when retrieving a list of items. The value is returned as part of a collection response. One can also follow _links.next.href in the response directly. |
|
|
N/A |
PATCH Modify an existing Listener.
/statusupdates/listeners/{listenerId}
Modify attributes of an existing listener.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the Listener being queried. |
|
|
N/A |
Options (3)
|
Option Name |
Description |
|---|---|
|
|
The URI that Lionbridge POSTs to once a specific event has fired. Only HTTPS is supported. |
|
|
Status codes that result in a listener event. |
|
|
Optional parameter to indicate if the corresponding StatusUpdate should be acknowledged automatically. When set to false, the client is expected to acknowledge the StatusUpdate manually, to avoid running into quota limitation. For more information, please refer to the StatusUpdate resource. |
GET Query all Listeners.
/statusupdates/listeners
The Listeners endpoint returns information about the Listeners. The response includes listener IDs and detailed information of all listeners for the given user.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET Query listener information.
/statusupdates/listeners/{listenerId}
Returns the listener specified by listenerId.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the Listener being queried. |
|
|
N/A |
NotYetImplemented
PUT Replace source content reference of translation requests.
/jobs/{jobId}/requests/updatecontent
This operation replaces existing source content reference on the specified translation requests.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the specified job. |
|
|
N/A |
Options (2)
|
Option Name |
Description |
|---|---|
|
|
Id of source content. |
|
|
ID of translation request that will be retrieved. If none specified then all requests in jobId will be used. |
Provider (2)
GET Get a translation provider.
/providers/{providerId}
Get a translation provider.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the translation provider. |
|
|
N/A |
GET Get all configured translation providers.
/providers
Get all configured translation providers.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The next parameter can be used as a cursor to navigate to the next page when retrieving a list of items. The value is returned as part of a collection response. One can also follow _links.next.href in the response directly. |
|
|
The default value is false, list Providers without deleted ones |
|
|
N/A |
Quota
GET Query the current quota.
/quota
get the current quota.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
Request (10)
PUT Approve translated content of specified request(s).
/jobs/{jobId}/requests/approve
Approve translated content of specified request(s).
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the specified job. |
|
|
N/A |
Options (1)
|
Option Name |
Description |
|---|---|
|
|
ID of translation request that will be retrieved. |
POST Creates new translation requests based on a file.
/jobs/{jobId}/requests/addfile
Adds translation requests to a job based on a source file. If a fileId is specified, the file must be fully uploaded when this method invoked.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Job ID. |
|
|
N/A |
Options (7)
|
Option Name |
Description |
|---|---|
|
|
Name of the translation request. |
|
|
Source ID of the request in the content system. This is intended to be used for accessing the objects within the CMS. What to actually store here is arbitrary; it serves as a locator for read/write by the API consumer. For example, in a file-based connector, the sourceNativeId can be a file path /foo/bar/catalog/laptop/en/dell/inspiron/17/5000/features.txt, and the targetNativeId as /foo/bar/catalog/laptop/fr/dell/inspiron/17/5000/features.txt. Then when the translated content is received, the targetNativeId can be used, to open the target file for writing back translations directly. |
|
|
Source language code of the request in the content system. |
|
|
Target IDs of the requests in content system. Also see description of sourceNativeId. |
|
|
Target languages of requests for translation. |
|
|
Word count in translation request. If provided, the value will be available when querying the request. |
|
|
ID of source file |
POST Creates new translation requests based on file or inline source content.
/jobs/{jobId}/requests/add
Create new translation requests in a job referencing a source file, or inline source content.
If a fileId is specified, the file must be fully uploaded when this method invoked. At most one of fileId
or sourcecontentId can be included. See FileTransfer and
TranslationContent for more information on fileId and sourcecontentId respectively.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the specified job. |
|
|
N/A |
Options (8)
|
Option Name |
Description |
|---|---|
|
|
Id of source content. |
|
|
Name of the translation request. |
|
|
Source ID of the request in the content system. This is intended to be used for accessing the objects within the CMS. What to actually store here is arbitrary; it serves as a locator for read/write by the API consumer. For example, in a file-based connector, the sourceNativeId can be a file path /foo/bar/catalog/laptop/en/dell/inspiron/17/5000/features.txt, and the targetNativeId as /foo/bar/catalog/laptop/fr/dell/inspiron/17/5000/features.txt. Then when the translated content is received, the targetNativeId can be used, to open the target file for writing back translations directly. |
|
|
Source language code of the request in the content system. |
|
|
Target IDs of the requests in content system. Also see description of sourceNativeId. |
|
|
Target languages of requests for translation. |
|
|
Word count in translation request. If provided, the value will be available when querying the request. |
|
|
ID of source file |
DELETE Delete the translation request in a job identified by requestId
/jobs/{jobId}/requests/{requestId}
Delete the translation request in a job identified by requestId
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the job. |
|
|
The ID of the translation request. |
|
|
N/A |
GET Get all translation requests in a job.
/jobs/{jobId}/requests
Get all translation requests in a job. The items are ordered by creation time, in reverse.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the specified job. |
|
|
Get translation requests in a job with matching statusCode. |
|
|
Get specified translation requests in a job. Maximum of 50 items allowed per invocation. Bypass paging parameters when specified. |
|
|
The next parameter can be used as a cursor to navigate to the next page when retrieving a list of items. The value is returned as part of a collection response. One can also follow _links.next.href in the response directly. |
|
|
N/A |
GET Get the translation request in a job identified by requestId
/jobs/{jobId}/requests/{requestId}
Get the translation request in a job identified by requestId.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the job. |
|
|
The ID of the translation request. |
|
|
N/A |
PUT Reject translated content of specified request(s).
/jobs/{jobId}/requests/reject
Reject translated content of specified request(s). This method is used to support the process of reviewing translated content and communicating client feedback to translation provider. Once rejected, the provider may then send updated content based on client comments. Note that not all translation providers support rejection. Clients should discuss with translation provider on how rejections should be handled in advance.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the specified job. |
|
|
N/A |
Options (2)
|
Option Name |
Description |
|---|---|
|
|
ID of translation request that will be retrieved. |
|
|
Note which explains the reason(s) for rejection. |
PUT Replace file content associated to existing translation requests.
/jobs/{jobId}/requests/updatefilecontent
Associates a file as the source content to existing translation requests. File must be fully uploaded when this method is invoked.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Job ID. |
|
|
N/A |
Options (2)
|
Option Name |
Description |
|---|---|
|
|
ID of translation request that will be updated. If none specified then all requests in jobId will be used. |
|
|
ID of source file |
PATCH Update the translation request in a job identified by requestId
/jobs/{jobId}/requests/{requestId}
Update the translation request in a job identified by requestId. At most one of fileId or sourcecontentId can be included.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the job. |
|
|
The ID of the translation request. |
|
|
N/A |
Options (7)
|
Option Name |
Description |
|---|---|
|
|
Name of the translation request. |
|
|
Source ID of the request in the content system. This is intended to be used for accessing the objects within the CMS. What to actually store here is arbitrary; it serves as a locator for read/write by the API consumer. For example, in a file-based connector, the sourceNativeId can be a file path /foo/bar/catalog/laptop/en/dell/inspiron/17/5000/features.txt, and the targetNativeId as /foo/bar/catalog/laptop/fr/dell/inspiron/17/5000/features.txt. Then when the translated content is received, the targetNativeId can be used, to open the target file for writing back translations directly. |
|
|
Source language code of the request in the content system. |
|
|
Id of source file. |
|
|
Id of source content. |
|
|
Target ID of the request in the content system. |
|
|
Target language code of the request in the content system. |
PATCH Update the translation requests in a job identified by requestIds
/jobs/{jobId}/requests
Update the translation requests in a job identified by requestIds. At most one of fileId or sourcecontentId can be included.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the job. |
|
|
Patch specified translation requests in a job. Maximum of 50 items allowed per invocation. |
|
|
N/A |
Options (7)
|
Option Name |
Description |
|---|---|
|
|
Name of the translation request. |
|
|
Source ID of the request in the content system. This is intended to be used for accessing the objects within the CMS. What to actually store here is arbitrary; it serves as a locator for read/write by the API consumer. For example, in a file-based connector, the sourceNativeId can be a file path /foo/bar/catalog/laptop/en/dell/inspiron/17/5000/features.txt, and the targetNativeId as /foo/bar/catalog/laptop/fr/dell/inspiron/17/5000/features.txt. Then when the translated content is received, the targetNativeId can be used, to open the target file for writing back translations directly. |
|
|
Source language code of the request in the content system. |
|
|
Id of source file. |
|
|
Id of source content. |
|
|
Target ID of the request in the content system. |
|
|
Target language code of the request in the content system. |
StatusUpdate (4)
PUT Acknowledge a status update.
/statusupdates/{updateId}/acknowledge
Acknowledges a status update, which results in specified ID no longer appearing in future /statusupdates request.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the status update being acknowledged. |
|
|
N/A |
GET Get all unacknowledged status updates for a specific provider.
/providers/{providerId}/statusupdates
Get all unacknowledged status updates for this provider. This can be used in specific circumstances, for example, when the API credential is being used in multiple connector instances, each with a different provider.
For most use cases, the generic GET /statusupdates method is sufficient and is simpler to use.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the specified provider. |
|
|
The next parameter can be used as a cursor to navigate to the next page when retrieving a list of items. The value is returned as part of a collection response. One can also follow _links.next.href in the response directly. |
|
|
N/A |
GET Get all unacknowledged status updates for this job.
/jobs/{jobId}/statusupdates
Get all unacknowledged status updates for this job.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the specified job. |
|
|
The next parameter can be used as a cursor to navigate to the next page when retrieving a list of items. The value is returned as part of a collection response. One can also follow _links.next.href in the response directly. |
|
|
N/A |
GET Get all unacknowledged status updates.
/statusupdates
Get all unacknowledged status updates. The items are ordered by update time, in reverse.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The next parameter can be used as a cursor to navigate to the next page when retrieving a list of items. The value is returned as part of a collection response. One can also follow _links.next.href in the response directly. |
|
|
N/A |
SupportAsset (4)
POST Add support asset to a job.
/jobs/{jobId}/supportassets
Add a support asset to a job based on a file
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the specified job. |
|
|
N/A |
Options (5)
|
Option Name |
Description |
|---|---|
|
|
FMS fileId of source file to use as this support asset. |
|
|
An optional description of this support asset. |
|
|
Optional source native id's associated with this support asset. This field is for informational purpose only, and is not validated by the API. See Request's sourceNativeId for a detailed description. |
|
|
Optional source language code associated with this support asset. This field is for informational purpose only, and is not validated by the API. |
|
|
Optional list of target languages of support asset associated with this support asset. This field is for informational purpose only, and is not validated by the API. |
DELETE Delete the support asset in a job identified by supportassetId
/jobs/{jobId}/supportassets/{supportassetId}
Delete the support asset in a job identified by supportassetId
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the job. |
|
|
The ID of the support asset. |
|
|
N/A |
GET Get all support assets in a job.
/jobs/{jobId}/supportassets
Get all support assets in a job. The items are ordered by creation time, in reverse.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the specified job. |
|
|
The next parameter can be used as a cursor to navigate to the next page when retrieving a list of items. The value is returned as part of a collection response. One can also follow _links.next.href in the response directly. |
|
|
N/A |
GET Get the support asset in a job identified by supportassetId
/jobs/{jobId}/supportassets/{supportassetId}
Get the support asset in a job identified by supportassetId.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the job. |
|
|
The ID of the support asset. |
|
|
N/A |
TranslationContent (4)
POST Create new translation source content.
/jobs/{jobId}/sourcecontent
Create source content so it can be referenced for creating a translation request. The total length of all field names, values, and comments should not exceed 1 Mb.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the specified job. |
|
|
N/A |
Options (1)
|
Option Name |
Description |
|---|---|
|
|
N/A |
GET Get translation source content.
/jobs/{jobId}/sourcecontent/{sourcecontentId}
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the specified job. |
|
|
The ID of the translation source content. |
|
|
N/A |
PUT Replace source content in a job.
/jobs/{jobId}/sourcecontent/{sourcecontentId}
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the specified job. |
|
|
The ID of the translation source content. |
|
|
N/A |
Options (1)
|
Option Name |
Description |
|---|---|
|
|
N/A |
GET Retrieve the target content for translation request(s).
/jobs/{jobId}/requests/{requestId}/retrieve
Retrieve the target content for translation request(s).
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the job. |
|
|
The ID of the translation request. |
|
|
N/A |
TranslationMemory (3)
POST Add a file to existing translation memory of translation job.
/jobs/{jobId}/tmupdates
Associates a file as the source content to existing translation memory of a job.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Job ID. |
|
|
N/A |
Options (3)
|
Option Name |
Description |
|---|---|
|
|
FMS fileId of file containing updated content to use in this UpdateTM. |
|
|
Source language code of the update in the content system. |
|
|
Target language code of the update in the content system. |
GET Get a specific translation memory of translation job.
/jobs/{jobId}/tmupdates/{tmupdateId}
Returns translation memory data.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Job ID. |
|
|
TMUpdate ID. |
|
|
N/A |
GET Get translation memories of translation job.
/jobs/{jobId}/tmupdates
Returns translation memories data.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Job ID. |
|
|
The next parameter can be used as a cursor to navigate to the next page when retrieving a list of items. The value is returned as part of a collection response. One can also follow _links.next.href in the response directly. |
|
|
N/A |
Webhook (2)
PUT Retry a failed invocation
/statusupdates/listeners/{listenerId}/invocations/{invocationId}/retry
Retry a failed invocation
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
ID of listener |
|
|
ID of invocation |
|
|
N/A |
PUT Retry a list of failed invocations
/statusupdates/listeners/{listenerId}/retry
Retry a list of failed invocations
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
ID of listener |
|
|
N/A |
Options (1)
|
Option Name |
Description |
|---|---|
|
|
N/A |