Merge commit 'refs/pull/863/head' of github.com:payloadcms/payload

This commit is contained in:
James
2022-08-15 18:55:07 -07:00
3 changed files with 13 additions and 2 deletions

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