Translations

Get the locales and language copies of a Content Fragment

SecuritybearerAuth
Request
path Parameters
fragmentId
required
string <uuid> (UUID)

Content Fragment unique identifier

Example: 49af775d-0e7a-46c3-913d-00f762528373
Responses
200

OK

400

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

404

Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

406

Not Acceptable. 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

Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.

get/cf/fragments/{fragmentId}/translations
Request samples
Response samples
application/json
{
  • "locale": "en",
  • "languageCopies": [
    ]
}

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

Not Acceptable. 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. Indicates that the origin server is refusing to service the request because the content is in a format not supported by this method on the target resource.

500

Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.

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. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

406

Not Acceptable. 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

Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.

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