List language variants by type

GET https://manage.kontent.ai/v2/projects/:environment_id/types/:type_identifier/variants

Retrieve a dynamically paginated list of language variants for a specified content type.

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

KeyDatatypeRequiredDescription
x-continuationstringDetermines the page of results to retrieve.

To get the next page of results, check the pagination object in the API response and set the x-continuation header parameter to the value of the continuation_token property. | | Accept | string | | |

RESPONSES

status: OK

{"variants":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"pagination":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}