{ "opencollection": "1.0.0", "info": { "name": "Centrexion Therapeutics Content Comments API", "version": "wp/v2" }, "items": [ { "info": { "name": "comments", "type": "folder" }, "items": [ { "info": { "name": "List comments", "type": "http" }, "http": { "method": "GET", "url": "https://centrexion.com/wp-json/wp/v2/comments", "params": [ { "name": "context", "value": "", "type": "query", "description": "Scope under which the request is made; determines fields present in the response." }, { "name": "page", "value": "", "type": "query", "description": "Current page of the collection." }, { "name": "per_page", "value": "", "type": "query", "description": "Maximum number of items to be returned in the result set. Values above 100 return 400 rest_invalid_param." }, { "name": "search", "value": "", "type": "query", "description": "Limit results to those matching a string." }, { "name": "after", "value": "", "type": "query", "description": "Limit response to posts published after a given ISO 8601 compliant date." }, { "name": "before", "value": "", "type": "query", "description": "Limit response to posts published before a given ISO 8601 compliant date." }, { "name": "exclude", "value": "", "type": "query", "description": "Ensure result set excludes specific IDs." }, { "name": "include", "value": "", "type": "query", "description": "Limit result set to specific IDs." }, { "name": "offset", "value": "", "type": "query", "description": "Offset the result set by a specific number of items." }, { "name": "order", "value": "", "type": "query", "description": "Order sort attribute ascending or descending." }, { "name": "post", "value": "", "type": "query", "description": "Limit result set to comments assigned to specific post IDs." }, { "name": "parent", "value": "", "type": "query", "description": "Limit result set to comments of specific parent IDs." } ] }, "docs": "Lists approved comments. One item exists on this deployment — the default WordPress sample comment attached to the placeholder post. Comment objects carry `author_name`, `author_url` and `author_avatar_urls`, so this collection is personal data even when the single record is boilerplate." }, { "info": { "name": "Get a single comment", "type": "http" }, "http": { "method": "GET", "url": "https://centrexion.com/wp-json/wp/v2/comments/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Unique identifier for the object." }, { "name": "context", "value": "", "type": "query", "description": "Scope under which the request is made; determines fields present in the response." } ] }, "docs": "Retrieves one comment by numeric ID." } ] } ], "bundled": true }