Retrieve a content type
GET https://manage.kontent.ai/v2/projects/:environment_id/types/:type_identifier
Retrieve information about a single content type.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"elements":[{"snippet":{},"type":"snippet","codename":"snippet_with_title_element","is_non_localizable":false,"content_group":{}},{"maximum_text_length":null,"maximum_image_size":null,"allowed_content_types":[{}],"image_width_limit":null,"image_height_limit":null,"allowed_image_types":"any","allowed_blocks":["text","tables","components-and-items"],"allowed_text_blocks":["paragraph","heading-two","heading-three","heading-four","ordered-list","unordered-list"],"allowed_table_blocks":["text"],"allowed_table_text_blocks":["paragraph"],"name":"Content","guidelines":"Make it snappy.","is_required":true,"is_non_localizable":false,"type":"rich_text","codename":"content","content_group":{}},{"item_count_limit":{"value":1,"condition":"at_least"},"allowed_content_types":[{}],"name":"Author","guidelines":"Select the author or authors.","is_required":true,"is_non_localizable":false,"type":"modular_content","codename":"author","content_group":{}},{"depends_on":{"snippet":{},"element":{}},"name":"URL","guidelines":"If needed, provide a custom URL slug.","is_required":true,"is_non_localizable":false,"type":"url_slug","codename":"url","content_group":{}}],"name":"Article","id":"dd1439d5-4ee2-4895-a4e4-5b0d9d8c754e","codename":"new_article","external_id":"custom-content-type-id","last_modified":"2021-06-17T06:28:11.6503569Z","content_groups":[{"name":"Content","codename":"content"},{"name":"Author","codename":"author"},{"name":"URL","codename":"url"}]}