{ "opencollection": "1.0.0", "info": { "name": "Legendary Entertainment WordPress REST block-directory categories API", "version": "wp/v2" }, "items": [ { "info": { "name": "categories", "type": "folder" }, "items": [ { "info": { "name": "GET /categories", "type": "http" }, "http": { "method": "GET", "url": "https://www.legendary.com/wp-json/wp/v2/categories", "params": [ { "name": "context", "value": "", "type": "query", "description": "Scope under which the request is made; determines fields present in response." }, { "name": "exclude", "value": "", "type": "query", "description": "Ensure result set excludes specific IDs." }, { "name": "hide_empty", "value": "", "type": "query", "description": "Whether to hide terms not assigned to any posts." }, { "name": "include", "value": "", "type": "query", "description": "Limit result set to specific IDs." }, { "name": "order", "value": "", "type": "query", "description": "Order sort attribute ascending or descending." }, { "name": "orderby", "value": "", "type": "query", "description": "Sort collection by term attribute." }, { "name": "page", "value": "", "type": "query", "description": "Current page of the collection." }, { "name": "parent", "value": "", "type": "query", "description": "Limit result set to terms assigned to a specific parent." }, { "name": "per_page", "value": "", "type": "query", "description": "Maximum number of items to be returned in result set." }, { "name": "post", "value": "", "type": "query", "description": "Limit result set to terms assigned to a specific post." }, { "name": "search", "value": "", "type": "query", "description": "Limit results to those matching a string." }, { "name": "slug", "value": "", "type": "query", "description": "Limit result set to terms with one or more specific slugs." } ] }, "docs": "GET /categories" }, { "info": { "name": "POST /categories", "type": "http" }, "http": { "method": "POST", "url": "https://www.legendary.com/wp-json/wp/v2/categories", "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "POST /categories" }, { "info": { "name": "GET /categories/{id}", "type": "http" }, "http": { "method": "GET", "url": "https://www.legendary.com/wp-json/wp/v2/categories/:id", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "context", "value": "", "type": "query", "description": "Scope under which the request is made; determines fields present in response." } ] }, "docs": "GET /categories/{id}" }, { "info": { "name": "POST /categories/{id}", "type": "http" }, "http": { "method": "POST", "url": "https://www.legendary.com/wp-json/wp/v2/categories/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "POST /categories/{id}" }, { "info": { "name": "DELETE /categories/{id}", "type": "http" }, "http": { "method": "DELETE", "url": "https://www.legendary.com/wp-json/wp/v2/categories/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "DELETE /categories/{id}" } ] } ], "bundled": true }