This repository has been archived by the owner on May 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
@api‐operationid
Jon Ursenbach edited this page Jan 4, 2020
·
1 revision
A unique identifier for a resource action. This is used when compiling specifications.
@api-operationid identifier
Required? | Needs a visibility | Supports versioning | Supports deprecation |
---|---|---|---|
✓ | × | × | × |
Tag | Optional | Description |
---|---|---|
identifier | × | Unique identifier for a resource action. |
/**
* Update a movies data.
*
* @api-label Update a movie.
* @api-operationid updateMovie
* @api-group Movies
*
* @api-path:public /movies/+id
* @api-pathparam id `1234` (integer) - Movie ID
*
* ...
*/
public function PATCH()
{
...
}