Translations

Get the locales and language copies of a given list of resources

SecuritybearerAuth
Request
Request Body schema: application/json
paths
required
Array of strings (Path) non-empty

The list of paths.

Responses
200

OK

400

Bad Request. The Problem Details object will provide more information about the exact cause.

406

Unacceptable. indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.

415

Unsupported Media Type. When provided as a response to a PATCH request, the response will provide an Accept-Patch response header to notify the client what patch document media types are supported.

500

The server encountered an unexpected error. Retrying the request after a certain time could help.

post/cf/fragments/translations
Request samples
application/json
{
  • "paths": [
    ]
}
Response samples
application/json
{
  • "items": [
    ]
}

Get the available language(s) for creating Language Copies for a given Content Fragment path

SecuritybearerAuth
Request
query Parameters
path
required
string (ContentFragmentPath) ^\/content\/dam(\/.*)?$

Required UTF-8 encoded parameter to specify a Content Fragment path for which to retrieve the available language roots.

Responses
200

OK

400

Bad Request. The Problem Details object will provide more information about the exact cause.

404

Not Found

406

Unacceptable. indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.

500

The server encountered an unexpected error. Retrying the request after a certain time could help.

get/cf/fragments/languages
Request samples
Response samples
application/json
{
  • "locales": [
    ]
}