Skip to content
PHP Ecosystem
Explore

yii\rest

API reference › yii › rest

ClassSummary
ActionAction is the base class for action classes that implement RESTful API.
ActiveControllerActiveController implements a common set of actions for supporting RESTful access to ActiveRecord.
ControllerController is the base class for RESTful API controller classes.
CreateActionCreateAction implements the API endpoint for creating a new model from the given data.
DeleteActionDeleteAction implements the API endpoint for deleting a model.
IndexActionIndexAction implements the API endpoint for listing multiple models.
OptionsActionOptionsAction responds to the OPTIONS request by sending back an Allow header.
SerializerSerializer converts resource objects and collections into array representation.
UpdateActionUpdateAction implements the API endpoint for updating a model.
UrlRuleUrlRule is provided to simplify the creation of URL rules for RESTful API support.
ViewActionViewAction implements the API endpoint for returning the detailed information about a model.