{ "namespace": "wp/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "Рамки в которых сделан запрос, определяют поля в ответе.", "type": "string" } } } ], "schema": { "$schema": "http://json-schema.org/draft-04/schema#", "title": "status", "type": "object", "properties": { "name": { "description": "Название статуса.", "type": "string", "context": [ "embed", "view", "edit" ], "readonly": true }, "private": { "description": "Должны ли записи с этим статусом быть личными.", "type": "boolean", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Должны ли быть защищены записи с этим статусом.", "type": "boolean", "context": [ "edit" ], "readonly": true }, "public": { "description": "Показывать ли записи с этим статусом на части сайта для посетителей.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "queryable": { "description": "Разрешать ли публичные запросы записей с этим статусом.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "show_in_list": { "description": "Включать ли записи в список редактирования для их типов записи.", "type": "boolean", "context": [ "edit" ], "readonly": true }, "slug": { "description": "Буквенно-цифровой идентификатор статуса.", "type": "string", "context": [ "embed", "view", "edit" ], "readonly": true } } }, "_links": { "self": "http://wptest.ru/wp-json/wp/v2/statuses" } }