It is currently possible to send an array of documents to the API for creation, but not to send an array of documents to be updated. Currently to update a document the ID must be passed in the request URL and the update query as the body. ``` POST /1.0/library/notices/1234 HTTP/1.1 Host: api.example.com content-type: application/json Authorization: Bearer 171c8c12-6e9b-47a8-be29-0524070b0c65 { "status": "published" } ``` It would be useful to allow sending an array of IDs to be updated: ``` POST /1.0/library/notices/1234,5678,9012,3456 HTTP/1.1 Host: api.example.com content-type: application/json Authorization: Bearer 171c8c12-6e9b-47a8-be29-0524070b0c65 { "status": "published" } ```
Activity
jimlambie commentedon Mar 18, 2016
Or perhaps even better (more RESTful?):
vorpalhex commentedon Mar 18, 2016
👍
mingard commentedon Mar 29, 2016
Worth implementing
initializeOrderedBulkOpin anticipation for large scale write operations on a DB under read load?jimlambie commentedon Mar 31, 2016
@mingard please open a separate issue for the Bulk operations 🍰
jimlambie commentedon Apr 10, 2016
Closed by 22950a2