Update documentation for PATCH instead of PUT in Rest API

This commit is contained in:
Falko Woudstra
2022-08-02 00:02:50 +02:00
parent d0d498e9c7
commit f0ff1c7c99

View File

@@ -29,7 +29,7 @@ Each collection is mounted using its `slug` value. For example, if a collection'
| `GET` | `/api/{collectionSlug}` | Find paginated documents |
| `GET` | `/api/{collectionSlug}/:id` | Find a specific document by ID |
| `POST` | `/api/{collectionSlug}` | Create a new document |
| `PUT` | `/api/{collectionSlug}/:id` | Update a document by ID |
| `PATCH` | `/api/{collectionSlug}/:id` | Update a document by ID |
| `DELETE` | `/api/{collectionSlug}/:id` | Delete an existing document by ID |
##### Additional `find` query parameters