{ "opencollection": "1.0.0", "info": { "name": "Burger Singh Pages API", "version": "wp/v2" }, "items": [ { "info": { "name": "Pages", "type": "folder" }, "items": [ { "info": { "name": "List site pages", "type": "http" }, "http": { "method": "GET", "url": "https://www.burgersinghonline.com/wp-json/wp/v2/pages", "params": [ { "name": "page", "value": "", "type": "query", "description": "Current page of the collection. Defaults to 1." }, { "name": "per_page", "value": "", "type": "query", "description": "Maximum number of items returned. Verified live: values outside 1-100 return HTTP 400 rest_invalid_param." }, { "name": "search", "value": "", "type": "query", "description": "Limit results to those matching a string." }, { "name": "order", "value": "", "type": "query", "description": "Order sort attribute ascending or descending." }, { "name": "orderby", "value": "", "type": "query", "description": "Sort collection by object attribute." }, { "name": "context", "value": "", "type": "query", "description": "Scope under which the request is made; determines the fields present in the response. Only view and embed are available anonymously." }, { "name": "_fields", "value": "", "type": "query", "description": "Comma-separated list of fields to limit the response to. Verified live." }, { "name": "slug", "value": "", "type": "query", "description": "Limit results to pages with one of the given slugs." }, { "name": "parent", "value": "", "type": "query", "description": "Limit results to pages with the given parent page IDs." }, { "name": "menu_order", "value": "", "type": "query", "description": "Limit results to pages with a specific menu_order value." } ] }, "docs": "Returns a paginated collection of published pages. Total item and page counts come back in the X-WP-Total and X-WP-TotalPages headers; RFC 8288 Link carries next/prev." }, { "info": { "name": "Get a site page", "type": "http" }, "http": { "method": "GET", "url": "https://www.burgersinghonline.com/wp-json/wp/v2/pages/: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. Only view and embed are available anonymously." }, { "name": "_fields", "value": "", "type": "query", "description": "Comma-separated list of fields to limit the response to. Verified live." } ] }, "docs": "Returns a single published page by its numeric WordPress page ID." } ] } ], "bundled": true }