Retrieve the latest language variant
Retrieve the latest available version of the specified language variant of a content item. You can also explicitly retrieve the latest published version of the variant.
When retrieving variants, the API returns their latest versions. For example, if the variant contains both the draft and published versions, the API returns the draft version because it's considered the latest.
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"elements":[{"element":{},"value":"Text element value"},{"mode":"custom","element":{},"value":"custom-url-slug-value"}],"workflow":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"workflow_step":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"item":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"language":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"last_modified":"2020-02-27T19:08:25.404Z","schedule":{"publish_time":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"publish_display_timezone":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"unpublish_time":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"unpublish_display_timezone":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"due_date":{"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}