{ "opencollection": "1.0.0", "info": { "name": "Daring Foods Posts API", "version": "wp/v2" }, "items": [ { "info": { "name": "Posts", "type": "folder" }, "items": [ { "info": { "name": "List posts", "type": "http" }, "http": { "method": "GET", "url": "https://daring.com/wp-json/wp/v2/posts", "params": [ { "name": "page", "value": "", "type": "query", "description": "Current page of the collection (1-based)." }, { "name": "per_page", "value": "", "type": "query", "description": "Maximum number of items returned per page. Verified server cap is 100; a larger value returns HTTP 400 rest_invalid_param." }, { "name": "search", "value": "", "type": "query", "description": "Limit results to those matching a free-text string." }, { "name": "order", "value": "", "type": "query", "description": "Sort direction." }, { "name": "orderby", "value": "", "type": "query", "description": "Field to sort the collection by." }, { "name": "context", "value": "", "type": "query", "description": "Scope under which the request is made; determines the fields present in the response. Anonymous callers may use `view` and `embed` only - `edit` returns HTTP 401." }, { "name": "slug", "value": "", "type": "query", "description": "Limit results to items with one of the given slugs." }, { "name": "include", "value": "", "type": "query", "description": "Limit result set to specific IDs." }, { "name": "exclude", "value": "", "type": "query", "description": "Ensure result set excludes specific IDs." }, { "name": "offset", "value": "", "type": "query", "description": "Offset the result set by a specific number of items." }, { "name": "_fields", "value": "", "type": "query", "description": "Comma-separated list of fields to limit the response to (e.g. `id,slug,title,link`). A WordPress core response-shaping convention, verified working on this host." }, { "name": "_embed", "value": "", "type": "query", "description": "Inline embeddable linked resources (featured media, terms, author) into an `_embedded` object." }, { "name": "categories", "value": "", "type": "query", "description": "Limit results to posts in the given category IDs." }, { "name": "after", "value": "", "type": "query", "description": "Limit results to posts published after a given ISO 8601 date." }, { "name": "before", "value": "", "type": "query", "description": "Limit results to posts published before a given ISO 8601 date." } ] }, "docs": "Returns a paginated collection of published posts. Verified live at 1 post." }, { "info": { "name": "Retrieve a post", "type": "http" }, "http": { "method": "GET", "url": "https://daring.com/wp-json/wp/v2/posts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Unique numeric identifier for the object." }, { "name": "context", "value": "", "type": "query", "description": "Scope under which the request is made; determines the fields present in the response. Anonymous callers may use `view` and `embed` only - `edit` returns HTTP 401." }, { "name": "_fields", "value": "", "type": "query", "description": "Comma-separated list of fields to limit the response to (e.g. `id,slug,title,link`). A WordPress core response-shaping convention, verified working on this host." }, { "name": "_embed", "value": "", "type": "query", "description": "Inline embeddable linked resources (featured media, terms, author) into an `_embedded` object." } ] }, "docs": "Returns a single published post by numeric ID." } ] } ], "bundled": true }