v1

latestOpenAPI 3.1.02026-07-2683111282.3 KB
Content Translation Operations

Link the source and target content as translations of each other

Links the given source and target content as translations of each other. This operations runs asynchronously. For the given source and target content:

  • Source and target content must be in the same translation group
  • Source and target content paths must be under the folder '/content/documents'
  • Source and target content must have the same content type
  • The layout and the components of the source content must exist in target content's channel (for pages)
  • Source and target content must not have any existing translations in each other's channel (content can have maximum 1 translation in a channel)

The operation will fail if the source or target content already has a translation in each other's channel. The existing translations can be overridden via parameter.

post/translation/link

Query parameters

overrideExistingTranslationsboolean

whether the existing translation in the channel should be overridden in case the content already has a translation in the target channel

Request body

pathstring

path of the content

translationsstring[]

paths of the target translations

Response

OK

operationIdstring

generated unique id for the operation

status'COMPLETED' | 'STARTING' | 'STARTED' | 'STOPPING' | 'STOPPED' | 'FAILED' | 'ABANDONED'

status of the operation

exitMessagestring

exit message in case of operation failure

readCountinteger

number of records in input payload

writeCountinteger

written items

skipCountinteger

skipped items

startTimestring date-time

operation start time

endTimestring date-time

operation end time

errorLogstring[]

error logs for failed linking operations