{ "opencollection": "1.0.0", "info": { "name": "LifeMine Website Content API (WordPress REST) Templates API", "version": "wp/v2" }, "items": [ { "info": { "name": "templates", "type": "folder" }, "items": [ { "info": { "name": "GET /wp/v2/templates/{parent}/revisions", "type": "http" }, "http": { "method": "GET", "url": "https://lifeminetx.com/wp-json/wp/v2/templates/:parent/revisions", "params": [ { "name": "parent", "value": "", "type": "path", "description": "Path segment `parent` (WordPress route pattern)." }, { "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/templates/{parent}/revisions" }, { "info": { "name": "GET /wp/v2/templates/{parent}/revisions/{id}", "type": "http" }, "http": { "method": "GET", "url": "https://lifeminetx.com/wp-json/wp/v2/templates/:parent/revisions/:id", "params": [ { "name": "parent", "value": "", "type": "path", "description": "Path segment `parent` (WordPress route pattern)." }, { "name": "id", "value": "", "type": "path", "description": "Path segment `id` (WordPress route pattern)." }, { "name": "context", "value": "", "type": "query", "description": "Scope under which the request is made; determines fields present in response." } ] }, "docs": "GET /wp/v2/templates/{parent}/revisions/{id}" }, { "info": { "name": "DELETE /wp/v2/templates/{parent}/revisions/{id}", "type": "http" }, "http": { "method": "DELETE", "url": "https://lifeminetx.com/wp-json/wp/v2/templates/:parent/revisions/:id", "params": [ { "name": "parent", "value": "", "type": "path", "description": "Path segment `parent` (WordPress route pattern)." }, { "name": "id", "value": "", "type": "path", "description": "Path segment `id` (WordPress route pattern)." }, { "name": "force", "value": "", "type": "query", "description": "Required to be true, as revisions do not support trashing." } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "DELETE /wp/v2/templates/{parent}/revisions/{id}" }, { "info": { "name": "GET /wp/v2/templates/{id}/autosaves", "type": "http" }, "http": { "method": "GET", "url": "https://lifeminetx.com/wp-json/wp/v2/templates/:id/autosaves", "params": [ { "name": "id", "value": "", "type": "path", "description": "Path segment `id` (WordPress route pattern)." }, { "name": "context", "value": "", "type": "query", "description": "Scope under which the request is made; determines fields present in response." } ] }, "docs": "GET /wp/v2/templates/{id}/autosaves" }, { "info": { "name": "POST /wp/v2/templates/{id}/autosaves", "type": "http" }, "http": { "method": "POST", "url": "https://lifeminetx.com/wp-json/wp/v2/templates/:id/autosaves", "params": [ { "name": "id", "value": "", "type": "path", "description": "Path segment `id` (WordPress route pattern)." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "POST /wp/v2/templates/{id}/autosaves" }, { "info": { "name": "GET /wp/v2/templates/{parent}/autosaves/{id}", "type": "http" }, "http": { "method": "GET", "url": "https://lifeminetx.com/wp-json/wp/v2/templates/:parent/autosaves/:id", "params": [ { "name": "parent", "value": "", "type": "path", "description": "Path segment `parent` (WordPress route pattern)." }, { "name": "id", "value": "", "type": "path", "description": "Path segment `id` (WordPress route pattern)." }, { "name": "context", "value": "", "type": "query", "description": "Scope under which the request is made; determines fields present in response." } ] }, "docs": "GET /wp/v2/templates/{parent}/autosaves/{id}" }, { "info": { "name": "GET /wp/v2/templates", "type": "http" }, "http": { "method": "GET", "url": "https://lifeminetx.com/wp-json/wp/v2/templates", "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/templates" }, { "info": { "name": "POST /wp/v2/templates", "type": "http" }, "http": { "method": "POST", "url": "https://lifeminetx.com/wp-json/wp/v2/templates", "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "POST /wp/v2/templates" }, { "info": { "name": "GET /wp/v2/templates/lookup", "type": "http" }, "http": { "method": "GET", "url": "https://lifeminetx.com/wp-json/wp/v2/templates/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/templates/lookup" }, { "info": { "name": "GET /wp/v2/templates/{id}", "type": "http" }, "http": { "method": "GET", "url": "https://lifeminetx.com/wp-json/wp/v2/templates/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Path segment `id` (WordPress route pattern)." }, { "name": "context", "value": "", "type": "query", "description": "Scope under which the request is made; determines fields present in response." } ] }, "docs": "GET /wp/v2/templates/{id}" }, { "info": { "name": "POST /wp/v2/templates/{id}", "type": "http" }, "http": { "method": "POST", "url": "https://lifeminetx.com/wp-json/wp/v2/templates/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Path segment `id` (WordPress route pattern)." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "POST /wp/v2/templates/{id}" }, { "info": { "name": "PUT /wp/v2/templates/{id}", "type": "http" }, "http": { "method": "PUT", "url": "https://lifeminetx.com/wp-json/wp/v2/templates/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Path segment `id` (WordPress route pattern)." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "PUT /wp/v2/templates/{id}" }, { "info": { "name": "PATCH /wp/v2/templates/{id}", "type": "http" }, "http": { "method": "PATCH", "url": "https://lifeminetx.com/wp-json/wp/v2/templates/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Path segment `id` (WordPress route pattern)." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "PATCH /wp/v2/templates/{id}" }, { "info": { "name": "DELETE /wp/v2/templates/{id}", "type": "http" }, "http": { "method": "DELETE", "url": "https://lifeminetx.com/wp-json/wp/v2/templates/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Path segment `id` (WordPress route pattern)." }, { "name": "force", "value": "", "type": "query", "description": "Whether to bypass Trash and force deletion." } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "DELETE /wp/v2/templates/{id}" } ] } ], "bundled": true }