File: wp-includes/rest-api.php
-
Filters whether a REST endpoint request is currently being handled.
-
functionwp_is_rest_endpoint()
Checks whether a REST API endpoint request is currently being handled.
-
Gets the REST API route for a post type.
-
Filters the REST API route for a post type.
-
Gets the REST API route for a taxonomy.
-
Filters the REST API route for a taxonomy.
-
functionrest_convert_error_to_response()
Converts an error to a response object.
-
Validates an integer value based on a schema.
-
Validates a number value based on a schema.
-
Validates a string value based on a schema.
-
functionrest_validate_enum()
Validates that the given value is a member of the JSON Schema “enum”.
-
Validates a null value based on a schema.
-
Validates a boolean value based on a schema.
-
Validates an object value based on a schema.
-
Validates an array value based on a schema.
-
functionrest_are_values_equal()
Checks the equality of two values, following JSON Schema semantics.
-
Gets the Application Password used for authenticating the request.
-
Retrieves an array of endpoint arguments from the item schema and endpoint method.
-
functionrest_find_one_matching_schema()
Finds the matching schema among the “oneOf” schemas.
-
Get all valid JSON schema properties.
-
Validates if the JSON Schema pattern matches a value.
-
Finds the schema for a property using the patternProperties keyword.
-
Formats a combining operation error into a WP_Error object.
-
Gets the error of combining operation.
-
functionrest_find_any_matching_schema()
Finds the matching schema among the “anyOf” schemas.
-
Adds Application Passwords info to the REST API index.
-
Collects the status of authenticating with an application password.
-
Checks for errors when using application password-based authentication.
-
Filters the REST API route for a term.
-
Gets the REST route for the currently queried object.