{ "opencollection": "1.0.0", "info": { "name": "Kit Accounts Posts API", "version": "4.0" }, "items": [ { "info": { "name": "Posts", "type": "folder" }, "items": [ { "info": { "name": "List posts", "type": "http" }, "http": { "method": "GET", "url": "https://api.kit.com/v4/posts", "params": [ { "name": "after", "value": "", "type": "query", "description": "To fetch next page of results, use `?after=`" }, { "name": "before", "value": "", "type": "query", "description": "To fetch previous page of results, use `?before=`" }, { "name": "include_content", "value": "false", "type": "query", "description": "To include the `content` field on each post in the response, use `true`. Omitted by default because it significantly increases response size and latency for large collections." }, { "name": "include_total_count", "value": "false", "type": "query", "description": "Set to `true` to include the `total_count` in the response. This option can cause slow responses; if paging through results, request it only on the first page and reuse the value for subsequent pages." }, { "name": "per_page", "value": "", "type": "query", "description": "Number of results per page. Default 500, maximum 1000." } ], "auth": { "type": "apikey", "key": "X-Kit-Api-Key", "value": "{{X-Kit-Api-Key}}", "placement": "header" } }, "docs": "List posts" }, { "info": { "name": "Get a post", "type": "http" }, "http": { "method": "GET", "url": "https://api.kit.com/v4/posts/:id", "params": [ { "name": "id", "value": "29", "type": "path" } ], "auth": { "type": "apikey", "key": "X-Kit-Api-Key", "value": "{{X-Kit-Api-Key}}", "placement": "header" } }, "docs": "Get a post" } ] } ], "bundled": true }