wordpress-develop/tests/phpunit/tests/rest-api
Rachel Baker fa3f97449e REST API: Add the supports property to the Post Type response object.
Includes a new `supports` property in the response object and schema for the `/types` endpoints for users with the `edit_posts` capability for the given post type. The `supports` property returns an object of the features the given post type *supports*.

Props timmydcrawford, tyxla.
Fixes #39033.


git-svn-id: https://develop.svn.wordpress.org/trunk@39647 602fd350-edb4-49c9-b593-d223f7449a82
2016-12-29 17:27:37 +00:00
..
rest-attachments-controller.php REST API: Add support for filename search in media endpoint. 2016-12-13 14:08:24 +00:00
rest-categories-controller.php REST API: Modify the structure of our DELETE responses to be more explicit. 2016-11-03 20:04:59 +00:00
rest-comments-controller.php REST API: Allow sending an empty or no-op comment update. 2016-12-13 13:52:49 +00:00
rest-controller.php REST API: Remove rest_get_post filter and get_post abstraction. 2016-11-08 13:08:49 +00:00
rest-pages-controller.php REST API: Allow unsetting of page templates in update requests. 2016-11-23 02:46:42 +00:00
rest-post-meta-fields.php REST API: Return a WP_Error if meta property is not an array. 2016-12-02 21:55:09 +00:00
rest-post-statuses-controller.php REST API: Introduce the Content API endpoints. 2016-10-20 02:54:12 +00:00
rest-post-types-controller.php REST API: Add the supports property to the Post Type response object. 2016-12-29 17:27:37 +00:00
rest-posts-controller.php REST API: Remove errant annotation from test_get_items_pagination_headers() method. 2016-12-27 18:03:52 +00:00
rest-request-validation.php REST API: Introduce the Content API endpoints. 2016-10-20 02:54:12 +00:00
rest-request.php REST API: Do not error on empty JSON body 2016-12-13 03:33:14 +00:00
rest-revisions-controller.php REST API: Modify the structure of our DELETE responses to be more explicit. 2016-11-03 20:04:59 +00:00
rest-schema-sanitization.php REST API: Change “ipv4” types to “ip” to support ipv6. 2016-11-18 19:32:03 +00:00
rest-schema-validation.php REST API: Change “ipv4” types to “ip” to support ipv6. 2016-11-18 19:32:03 +00:00
rest-server.php REST API: Deprecate the rest_enabled filter. 2016-10-26 06:27:04 +00:00
rest-settings-controller.php REST API: Register the admin_email setting in single site only. 2016-12-03 05:40:04 +00:00
rest-tags-controller.php REST API: Add tests for empty or "no-op" updates. 2016-11-30 03:02:01 +00:00
rest-taxonomies-controller.php REST API: Add rest_base to response objects of wp/v2/taxonomies and wp/v2/types 2016-11-10 02:20:09 +00:00
rest-test-controller.php REST API: Introduce the Content API endpoints. 2016-10-20 02:54:12 +00:00
rest-users-controller.php REST API: Remove errant annotation from test_get_items_pagination_headers() method. 2016-12-27 18:03:52 +00:00