Apply a collections configuration
Changed onApplies a configuration document: every problem is reported at once (400 with details.problems) before anything changes, then everything is saved together. Collections are matched by their path of keys, so applying the same document twice changes nothing. With dry_run=true nothing is saved and the answer lists what would be created, changed and removed, how many documents each collection would hold for you, and for each limit how many documents it hides from how many people. prune=true removes keyed collections the document does not name, and refuses (409) one that still has a limit or documents placed by hand. A key with no person cannot change only (403). Requires the documents:write scope. The key's person must be an Admin of the workspace (the workspace permission), as in the web app.
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Query parameters
Check and preview the change; nothing is saved.
Remove keyed collections the document does not name.
Request body
The configuration document.
The configuration document as YAML or JSON text.
Response
OK
Changes
- info
endpoint added
- info