List language variants by space

GET https://manage.kontent.ai/v2/projects/:environment_id/spaces/:space_identifier/variants

Retrieve a dynamically paginated list of language variants for a specified space.

Language variants are not directly connected to spaces. Rather, the parent content item of each language variant is assigned to a specific collection. Each collection can be linked to zero, one, or more spaces.

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"}}