ltonetwork / mongodb-rest

JSON REST server for MongoDB (using node.js)
MIT License
405 stars 143 forks source link

PATCH request as RFC 7396 JSON Merge Patch #47

Closed jasny closed 5 years ago

jasny commented 6 years ago

Support HTTP PATCH request by implementing RFC 7396 - JSON Merge Patch.

PUT /db/collection/id - Replace document with id (updated document in PUT body)
PATCH /db/collection/id - Update document with id (updated document in PATCH body)