Project Type: WordPress Reference

`/wp/v2/media`

Namespace: wp/v2 Route: /wp/v2/media Routes Collection: /wp/v2/media Single: /wp/v2/media/{id} HTTP Methods Collection methods: GET, POST Single methods: GET, POST, PUT, PATCH, DELETE Request Parameters Collection GET Parameter Type Required Default...

`/wp/v2/block-types`

Namespace: wp/v2 Route: /wp/v2/block-types Routes Collection: /wp/v2/block-types Single: /wp/v2/block-types/{namespace}/{name} HTTP Methods Collection methods: GET Single methods: GET Request Parameters Collection GET Parameter Type Required Default Description context string false view...

`/wp/v2/blocks`

Namespace: wp/v2 Route: /wp/v2/blocks Routes Collection: /wp/v2/blocks Single: /wp/v2/blocks/{id} HTTP Methods Collection methods: Unknown Single methods: GET, POST, PUT, PATCH, DELETE Request Parameters Single GET Parameter Type Required Default Description...

WP_REST_Response

Core class implementing a REST response object. Extends WP_HTTP_Response with link handling and route matching. Source: wp-includes/rest-api/class-wp-rest-response.php Since: 4.4.0 Extends: WP_HTTP_Response Properties Property Type Visibility Description $links array protected Links...

WP_REST_Server

Core class implementing the WordPress REST API server. Handles route registration, request dispatch, and response formatting. Source: wp-includes/rest-api/class-wp-rest-server.php Since: 4.4.0 Constants Constant Value Description READABLE 'GET' GET transport method CREATABLE...

REST API Functions

Core functions for route registration, URL handling, and utilities. Source: wp-includes/rest-api.php Route Registration register_rest_route() Registers a REST API route. Must be called during rest_api_init action. register_rest_route( string $route_namespace, string $route,...

REST API Hooks

Actions and filters for the REST API. Actions rest_api_init Fires when the REST API server is initialized. Register routes here. do_action( 'rest_api_init', WP_REST_Server $server ) Parameter Type Description $server WP_REST_Server...

REST API

WordPress REST API for building and consuming HTTP-based JSON endpoints. Since: 4.4.0 Source: wp-includes/rest-api.php, wp-includes/rest-api/ Components Component Description functions.md Core registration, URL, and utility functions class-wp-rest-server.md REST server singleton handling...

`/wp/v2/block-patterns`

Namespace: wp/v2 Route: /wp/v2/block-patterns Routes Collection: /wp/v2/block-patterns Single: /wp/v2/block-patterns/{namespace}/{name} HTTP Methods Collection methods: Unknown Single methods: GET, POST, PUT, PATCH, DELETE (route-specific) Request Parameters No parameter metadata available. Response Schema...

WP_REST_Posts_Controller

Core class to access posts via the REST API. The most comprehensive controller, serving as the basis for many other content-type controllers. Class Synopsis class WP_REST_Posts_Controller extends WP_REST_Controller { protected...

← Back to Chubes.net