REST (category)

rest_api_init

Fires at the beginning of REST API request processing (when serving the REST request is being prepared).

rest_endpoints

Allows you to change the array of available REST API endpoints.

rest_pre_dispatch

Allows you to override a REST API response before its standard processing.

rest_pre_echo_response

Allows you to modify REST API response data before the response is sent to the client.

rest_prepare_(taxonomy)

Allows you to modify term data in a REST API response immediately before it is returned.

rest_url_prefix

Allows you to change the REST API base (route prefix). For example, from wp-json to api.