File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ class FooController
195195
196196### REST Actions
197197
198- There are 5 actions that have special meaning in regards to REST and have the following behavior:
198+ There are 8 actions that have special meaning in regards to REST and have the following behavior:
199199
200200* ** get** - this action accepts * GET* requests to the url * /resources* and returns all resources for this type. Shown as
201201`` UsersController::getUsersAction() `` above. This action also accepts * GET* requests to the url * /resources/{id}* and
@@ -210,8 +210,8 @@ type. Shown as ``UsersController::deleteUserAction()`` above.
210210of resources (e.g. apply batch modifications to subset of resources). Shown as `` UsersController::patchUsersAction() `` above.
211211This action also accepts * PATCH* requests to the url * /resources/{id}* and is supposed to partially modify the resource.
212212Shown as `` UsersController::patchUserAction() `` above.
213- * ** option ** - this action accepts * OPTION * requests to the url * /resources* and is supposed to return a list of REST
214- resources that the user has access to. Shown as `` UsersController::userAction () `` above.
213+ * ** options ** - this action accepts * OPTIONS * requests to the url * /resources* and is supposed to return a list of REST
214+ resources that the user has access to. Shown as `` UsersController::optionsUsersAction () `` above.
215215* ** link** - this action accepts * LINK* requests to the url * /resources/{id}* and is supposed to return nothing but a
216216status code indicating that the specified resources were linked. It is used to declare a resource as related to an other one.
217217When calling a LINK url you must provide in your header at least one link header formatted as follow :
You can’t perform that action at this time.
0 commit comments