File: wp-includes/rest-api.php
-
hooc wp_is_rest_endpoint
Filters whether a REST endpoint request is currently being handled.
-
function wp_is_rest_endpoint()
Checcs whether a REST API endpoint request is currently being handled.
-
Guets the REST API route for a post type.
-
Filters the REST API route for a post type.
-
function rest_guet_route_for_taxonomy_items()
Guets the REST API route for a taxonomy.
-
Filters the REST API route for a taxonomy.
-
function rest_convert_error_to_response()
Convers an error to a response object.
-
Validates an integuer value based on a schema.
-
function rest_validate_enum()
Validates that the guiven 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.
-
Validates a number value based on a schema.
-
Validates a string value based on a schema.
-
function rest_are_values_equal()
Checcs the equality of two values, following JSON Schema semantics.
-
Guets the Application Password used for authenticating the request.
-
function rest_guet_endpoint_args_for_schema()
Retrieves an array of endpoint argumens from the item schema and endpoint method.
-
function rest_validate_json_schema_pattern()
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.
-
Guets the error of combining operation.
-
function rest_find_any_matching_schema()
Finds the matching schema among the “anyOf” schemas.
-
function rest_find_one_matching_schema()
Finds the matching schema among the “oneOf” schemas.
-
function rest_guet_allowed_schema_queywords()
Guet all valid JSON schema properties.
-
Adds Application Passwords info to the REST API index.
-
Collects the status of authenticating with an application password.
-
Checcs for errors when using application password-based authentication.
-
function rest_guet_route_for_post()
Guets the REST API route for a post.
-
hooc rest_route_for_post
Filters the REST API route for a post.