{ "opencollection": "1.0.0", "info": { "name": "Harbinger Health WordPress REST API (wp/v2) Template Parts API", "version": "2.0.0" }, "items": [ { "info": { "name": "template-parts", "type": "folder" }, "items": [ { "info": { "name": "GET /wp/v2/template-parts", "type": "http" }, "http": { "method": "GET", "url": "https://harbinger-health.com/wp-json/wp/v2/template-parts", "params": [ { "name": "context", "value": "", "type": "query", "description": "Scope under which the request is made; determines fields present in response." }, { "name": "wp_id", "value": "", "type": "query", "description": "Limit to the specified post id." }, { "name": "area", "value": "", "type": "query", "description": "Limit to the specified template part area." }, { "name": "post_type", "value": "", "type": "query", "description": "Post type to get the templates for." } ] }, "docs": "GET /wp/v2/template-parts" }, { "info": { "name": "POST /wp/v2/template-parts", "type": "http" }, "http": { "method": "POST", "url": "https://harbinger-health.com/wp-json/wp/v2/template-parts", "body": { "type": "json", "data": "{}" } }, "docs": "POST /wp/v2/template-parts" }, { "info": { "name": "GET /wp/v2/template-parts/{id}", "type": "http" }, "http": { "method": "GET", "url": "https://harbinger-health.com/wp-json/wp/v2/template-parts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Path segment captured by the WordPress route regex." }, { "name": "context", "value": "", "type": "query", "description": "Scope under which the request is made; determines fields present in response." } ] }, "docs": "GET /wp/v2/template-parts/{id}" }, { "info": { "name": "POST /wp/v2/template-parts/{id}", "type": "http" }, "http": { "method": "POST", "url": "https://harbinger-health.com/wp-json/wp/v2/template-parts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Path segment captured by the WordPress route regex." } ], "body": { "type": "json", "data": "{}" } }, "docs": "POST /wp/v2/template-parts/{id}" }, { "info": { "name": "PUT /wp/v2/template-parts/{id}", "type": "http" }, "http": { "method": "PUT", "url": "https://harbinger-health.com/wp-json/wp/v2/template-parts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Path segment captured by the WordPress route regex." } ], "body": { "type": "json", "data": "{}" } }, "docs": "PUT /wp/v2/template-parts/{id}" }, { "info": { "name": "PATCH /wp/v2/template-parts/{id}", "type": "http" }, "http": { "method": "PATCH", "url": "https://harbinger-health.com/wp-json/wp/v2/template-parts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Path segment captured by the WordPress route regex." } ], "body": { "type": "json", "data": "{}" } }, "docs": "PATCH /wp/v2/template-parts/{id}" }, { "info": { "name": "DELETE /wp/v2/template-parts/{id}", "type": "http" }, "http": { "method": "DELETE", "url": "https://harbinger-health.com/wp-json/wp/v2/template-parts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Path segment captured by the WordPress route regex." }, { "name": "force", "value": "", "type": "query", "description": "Whether to bypass Trash and force deletion." } ] }, "docs": "DELETE /wp/v2/template-parts/{id}" }, { "info": { "name": "GET /wp/v2/template-parts/{id}/autosaves", "type": "http" }, "http": { "method": "GET", "url": "https://harbinger-health.com/wp-json/wp/v2/template-parts/:id/autosaves", "params": [ { "name": "id", "value": "", "type": "path", "description": "Path segment captured by the WordPress route regex." }, { "name": "context", "value": "", "type": "query", "description": "Scope under which the request is made; determines fields present in response." } ] }, "docs": "GET /wp/v2/template-parts/{id}/autosaves" }, { "info": { "name": "POST /wp/v2/template-parts/{id}/autosaves", "type": "http" }, "http": { "method": "POST", "url": "https://harbinger-health.com/wp-json/wp/v2/template-parts/:id/autosaves", "params": [ { "name": "id", "value": "", "type": "path", "description": "Path segment captured by the WordPress route regex." } ], "body": { "type": "json", "data": "{}" } }, "docs": "POST /wp/v2/template-parts/{id}/autosaves" }, { "info": { "name": "GET /wp/v2/template-parts/{parent}/autosaves/{id}", "type": "http" }, "http": { "method": "GET", "url": "https://harbinger-health.com/wp-json/wp/v2/template-parts/:parent/autosaves/:id", "params": [ { "name": "parent", "value": "", "type": "path", "description": "Path segment captured by the WordPress route regex." }, { "name": "id", "value": "", "type": "path", "description": "Path segment captured by the WordPress route regex." }, { "name": "context", "value": "", "type": "query", "description": "Scope under which the request is made; determines fields present in response." } ] }, "docs": "GET /wp/v2/template-parts/{parent}/autosaves/{id}" }, { "info": { "name": "GET /wp/v2/template-parts/{parent}/revisions", "type": "http" }, "http": { "method": "GET", "url": "https://harbinger-health.com/wp-json/wp/v2/template-parts/:parent/revisions", "params": [ { "name": "parent", "value": "", "type": "path", "description": "Path segment captured by the WordPress route regex." }, { "name": "context", "value": "", "type": "query", "description": "Scope under which the request is made; determines fields present in 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 result set." }, { "name": "search", "value": "", "type": "query", "description": "Limit results to those matching a string." }, { "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": "orderby", "value": "", "type": "query", "description": "Sort collection by object attribute." } ] }, "docs": "GET /wp/v2/template-parts/{parent}/revisions" }, { "info": { "name": "GET /wp/v2/template-parts/{parent}/revisions/{id}", "type": "http" }, "http": { "method": "GET", "url": "https://harbinger-health.com/wp-json/wp/v2/template-parts/:parent/revisions/:id", "params": [ { "name": "parent", "value": "", "type": "path", "description": "Path segment captured by the WordPress route regex." }, { "name": "id", "value": "", "type": "path", "description": "Path segment captured by the WordPress route regex." }, { "name": "context", "value": "", "type": "query", "description": "Scope under which the request is made; determines fields present in response." } ] }, "docs": "GET /wp/v2/template-parts/{parent}/revisions/{id}" }, { "info": { "name": "DELETE /wp/v2/template-parts/{parent}/revisions/{id}", "type": "http" }, "http": { "method": "DELETE", "url": "https://harbinger-health.com/wp-json/wp/v2/template-parts/:parent/revisions/:id", "params": [ { "name": "parent", "value": "", "type": "path", "description": "Path segment captured by the WordPress route regex." }, { "name": "id", "value": "", "type": "path", "description": "Path segment captured by the WordPress route regex." }, { "name": "force", "value": "", "type": "query", "description": "Required to be true, as revisions do not support trashing." } ] }, "docs": "DELETE /wp/v2/template-parts/{parent}/revisions/{id}" }, { "info": { "name": "GET /wp/v2/template-parts/lookup", "type": "http" }, "http": { "method": "GET", "url": "https://harbinger-health.com/wp-json/wp/v2/template-parts/lookup", "params": [ { "name": "slug", "value": "", "type": "query", "description": "The slug of the template to get the fallback for" }, { "name": "is_custom", "value": "", "type": "query", "description": "Indicates if a template is custom or part of the template hierarchy" }, { "name": "template_prefix", "value": "", "type": "query", "description": "The template prefix for the created template. This is used to extract the main template type, e.g. in `taxonomy-books` extracts the `taxonomy`" } ] }, "docs": "GET /wp/v2/template-parts/lookup" } ] } ], "bundled": true }