List language variants containing components by type
GET https://manage.kontent.ai/v2/projects/:environment_id/types/:type_identifier/components
Retrieve a dynamically paginated list of language variants that contain components specified by a content type.
The returned language variants may be based on any content type as long as the variants contain at least one component of the specified type. You may want to get language variants with specific components when migrating content based on a specific 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
| Key | Datatype | Required | Description |
|---|---|---|---|
x-continuation | string | Determines 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"}}