WordPress/wp-includes/rest-api/endpoints
spacedmonkey 13c5637263 Site Editor: Add site export REST API endpoint.
Add a REST API to export site templates and template part as html files. When the REST API is requested, it responds by downloading a single ZIP file and exits early, without completing full request.  To create the exported zip, the ZipArchive class is required. If this class is not present then the export will gracefully fail, returning a `WP_Error` object and 500 status error code. 

Props spacedmonkey, youknowriad, Mamaduka, walbo, peterwilsoncc. 
Fixes #54448 .


Built from https://develop.svn.wordpress.org/trunk@52286


git-svn-id: http://core.svn.wordpress.org/trunk@51878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-30 17:32:02 +00:00
..
class-wp-rest-application-passwords-controller.php
class-wp-rest-attachments-controller.php REST API: Add batch support for posts and terms controllers. 2021-11-09 01:59:02 +00:00
class-wp-rest-autosaves-controller.php REST API: Support custom namespaces for custom post types. 2021-10-31 23:16:58 +00:00
class-wp-rest-block-directory-controller.php
class-wp-rest-block-renderer-controller.php
class-wp-rest-block-types-controller.php
class-wp-rest-blocks-controller.php
class-wp-rest-comments-controller.php
class-wp-rest-controller.php
class-wp-rest-edit-site-export-controller.php Site Editor: Add site export REST API endpoint. 2021-11-30 17:32:02 +00:00
class-wp-rest-global-styles-controller.php REST API: Fire wp_after_insert_post later in new post object endpoints. 2021-11-30 01:10:08 +00:00
class-wp-rest-menu-items-controller.php REST API: Fire wp_after_insert_post later in new post object endpoints. 2021-11-30 01:10:08 +00:00
class-wp-rest-menu-locations-controller.php REST API: Introduce Menu management endpoints. 2021-11-09 19:00:01 +00:00
class-wp-rest-menus-controller.php REST API: Introduce Menu management endpoints. 2021-11-09 19:00:01 +00:00
class-wp-rest-pattern-directory-controller.php Docs: Various docblock corrections and improvements. 2021-11-23 21:37:01 +00:00
class-wp-rest-plugins-controller.php
class-wp-rest-post-statuses-controller.php REST API: Support custom namespaces for custom post types. 2021-10-31 23:16:58 +00:00
class-wp-rest-post-types-controller.php REST API: Support custom namespaces for custom post types. 2021-10-31 23:16:58 +00:00
class-wp-rest-posts-controller.php REST API: Introduce Menu management endpoints. 2021-11-09 19:00:01 +00:00
class-wp-rest-revisions-controller.php REST API: Support custom namespaces for custom post types. 2021-10-31 23:16:58 +00:00
class-wp-rest-search-controller.php
class-wp-rest-settings-controller.php
class-wp-rest-sidebars-controller.php REST API: Allow sidebars and their widgets to be public. 2021-11-05 02:15:59 +00:00
class-wp-rest-site-health-controller.php
class-wp-rest-taxonomies-controller.php Docs: Add a @since note for the rest_namespace argument of register_post_type() and register_taxonomy(). 2021-11-01 14:31:00 +00:00
class-wp-rest-templates-controller.php REST API: Fire wp_after_insert_post later in new post object endpoints. 2021-11-30 01:10:08 +00:00
class-wp-rest-terms-controller.php REST API: Add batch support for posts and terms controllers. 2021-11-09 01:59:02 +00:00
class-wp-rest-themes-controller.php Update @wordpress packages 2021-11-30 00:24:27 +00:00
class-wp-rest-url-details-controller.php REST API: Improve translations, comments, and readability in URL Details endpoint. 2021-11-04 12:44:01 +00:00
class-wp-rest-users-controller.php Add Site Editor and PHP changes from Gutenberg 10.1 - 11.9 2021-11-09 02:17:17 +00:00
class-wp-rest-widget-types-controller.php I18N: Remove redundant default text domain parameter in some __() calls. 2021-11-30 08:33:05 +00:00
class-wp-rest-widgets-controller.php Docs: Various corrections and improvements relating to types used in inline documentation. 2021-11-18 13:50:05 +00:00