{ "opencollection": "1.0.0", "info": { "name": "WordPress REST Block Types Categories API", "version": "v2" }, "request": { "auth": { "type": "apikey", "key": "wordpress_logged_in", "value": "{{wordpress_logged_in}}", "placement": "query" } }, "items": [ { "info": { "name": "Categories", "type": "folder" }, "items": [ { "info": { "name": "WordPress List Categories", "type": "http" }, "http": { "method": "GET", "url": "https://{site}/wp-json/wp/v2/categories", "params": [ { "name": "page", "value": "1", "type": "query", "description": "Current page of the collection." }, { "name": "per_page", "value": "10", "type": "query", "description": "Maximum number of items." }, { "name": "search", "value": "technology", "type": "query", "description": "Limit results to matching categories." }, { "name": "hide_empty", "value": "false", "type": "query", "description": "Whether to hide terms not assigned to any posts." } ] }, "docs": "Retrieves a collection of post categories." }, { "info": { "name": "WordPress Create Category", "type": "http" }, "http": { "method": "POST", "url": "https://{site}/wp-json/wp/v2/categories", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new category. Requires authentication." } ] } ], "bundled": true }