# yii\rest

> 11 classes of the yii\rest namespace.

[API reference](/docs/api/index.md) › [yii](/docs/api/yii/index.md) › rest

## Classes

| Class | Summary |
| --- | --- |
| [`Action`](/docs/api/yii/rest/action/index.md) | Action is the base class for action classes that implement RESTful API. |
| [`ActiveController`](/docs/api/yii/rest/activecontroller/index.md) | ActiveController implements a common set of actions for supporting RESTful access to ActiveRecord. |
| [`Controller`](/docs/api/yii/rest/controller/index.md) | Controller is the base class for RESTful API controller classes. |
| [`CreateAction`](/docs/api/yii/rest/createaction/index.md) | CreateAction implements the API endpoint for creating a new model from the given data. |
| [`DeleteAction`](/docs/api/yii/rest/deleteaction/index.md) | DeleteAction implements the API endpoint for deleting a model. |
| [`IndexAction`](/docs/api/yii/rest/indexaction/index.md) | IndexAction implements the API endpoint for listing multiple models. |
| [`OptionsAction`](/docs/api/yii/rest/optionsaction/index.md) | OptionsAction responds to the OPTIONS request by sending back an `Allow` header. |
| [`Serializer`](/docs/api/yii/rest/serializer/index.md) | Serializer converts resource objects and collections into array representation. |
| [`UpdateAction`](/docs/api/yii/rest/updateaction/index.md) | UpdateAction implements the API endpoint for updating a model. |
| [`UrlRule`](/docs/api/yii/rest/urlrule/index.md) | UrlRule is provided to simplify the creation of URL rules for RESTful API support. |
| [`ViewAction`](/docs/api/yii/rest/viewaction/index.md) | ViewAction implements the API endpoint for returning the detailed information about a model. |