Class to access elements via the REST API.
File: src/db-objects/elements/rest-elements-controller.php
REST_Elements_Controller::__construct()
Constructor.
REST_Elements_Controller::get_item_schema()
Retrieves the model’s schema, conforming to JSON Schema.
REST_Elements_Controller::get_collection_params()
Retrieves the query params for the models collection.
REST_Elements_Controller::prepare_links()
Prepares links for the request.
REST_Elements_Controller::sanitize_type_param()
Sanitizes and validates the list of element types.