Data
Change a document
Send data to replace the whole document, or merge to change some fields (JSON Merge Patch, RFC 7396: a field you send replaces that field, null removes it, an object is merged field by field). Not both. The result must match the schema of the collection. Triggers do not fire on a change.
patch/collections/{id}/documents/{docId}
Request
- Base URL: https://api.hypamoon.com/api/v1
- URL: https://api.hypamoon.com/api/v1/collections/{id}/documents/{docId}
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://app.hypamoon.com/oauth/authorize, token URL https://api.hypamoon.com/oauth/token, scopes: data:write)
Path parameters
idstring required
The id of the collection, or its name.
docIdstring uuid required
The id of the document.
Request body
Response
The document as it is now.
Changes
No recorded changes to this operation across all 1 revision of this API.