Closed petrsvihlik closed 6 years ago
Listing content types supports pagination. We need to reflect that in the SDK.
{ "types": [ { "system": { "id": "b2c14f2c-6467-460b-a70b-bca17972a33a", "name": "About us", "codename": "about_us", "last_modified": "2017-08-02T07:33:28.2997578Z" }, "elements": { "facts": { "type": "modular_content", "name": "Facts" }, "url_pattern": { "type": "url_slug", "name": "URL pattern" } } }, { "system": { "id": "d9748663-f567-4c51-a922-c24a1d6b935a", "name": "Accessory", "codename": "accessory", "last_modified": "2017-08-02T07:33:39.3620325Z" }, "elements": { "product_name": { "type": "text", "name": "Product name" }, "price": { "type": "number", "name": "Price" }, "image": { "type": "asset", "name": "Image" }, "manufacturer": { "type": "text", "name": "Manufacturer" }, "product_status": { "type": "taxonomy", "name": "Product status", "taxonomy_group": "product_status" }, "short_description": { "type": "rich_text", "name": "Short description" }, "long_description": { "type": "rich_text", "name": "Long description" }, "url_pattern": { "type": "url_slug", "name": "URL pattern" } } }, { "system": { "id": "b7aa4a53-d9b1-48cf-b7a6-ed0b182c4b89", "name": "Article", "codename": "article", "last_modified": "2017-08-02T07:33:19.8599559Z" }, "elements": { "personas": { "type": "taxonomy", "name": "Personas", "taxonomy_group": "personas" }, "title": { "type": "text", "name": "Title" }, "teaser_image": { "type": "asset", "name": "Teaser image" }, "post_date": { "type": "date_time", "name": "Post date" }, "summary": { "type": "text", "name": "Summary" }, "body_copy": { "type": "rich_text", "name": "Body Copy" }, "related_articles": { "type": "modular_content", "name": "Related articles" }, "meta_keywords": { "type": "text", "name": "Meta keywords" }, "meta_description": { "type": "text", "name": "Meta description" }, "url_pattern": { "type": "url_slug", "name": "URL pattern" } } } ], "pagination": { "skip": 0, "limit": 3, "count": 3, "next_page": "https://deliver.kenticocloud.com/975bf280-fd91-488c-994c-2f04416e5ee3/types?limit=3&skip=3" } }
DoD:
Listing content types supports pagination. We need to reflect that in the SDK.
DoD: