Entry API to Update Data
The API provides several endpoints for updating labels of a record or multiple records in a single request.
Update Labels of a Record
The method allows to update labels of an existing record. It receives
labels in headers that start with x-reduct-label- and updates
the labels or adds new ones. If a header with a label is empty, the label
is removed. Because the content of the record is immutable, the method doesn't expect a body.
All existing labels not mentioned in the request stay unchanged.
The method needs a valid API token with write access to the entry's bucket if authentication is enabled.
Changes:
- Version 1.11: The method was introduced.
- Version 1.18: returns
409 Conflictif the bucket or entry is being deleted.
Update Labels of Multiple Records
This method allows to update labels of multiple records in a single request. A client should describe the records in headers according to the Batch Protocol.
Existing labels not mentioned in the request stay unchanged.
Changes:
- Version 1.18: returns
409 Conflictif the bucket or entry is being deleted.
Rename an Entry
To rename an entry, the request should have a JSON document with the new name.
If authentication is enabled, the method needs a valid API token with full access.
Changes:
- Version 1.12: The method was introduced.
- Version 1.18: returns
409 Conflictif the bucket or entry is being deleted.