Feature: Implement custom fields for documents (#4502)

Adds custom fields of certain data types, attachable to documents and searchable
This commit is contained in:
Trenton H
2023-11-05 09:34:35 -08:00
committed by GitHub
parent 0def30210c
commit b863b15ec6
67 changed files with 3199 additions and 421 deletions

View File

@@ -20,6 +20,7 @@ The API provides the following main endpoints:
- `/api/users/`: Full CRUD support.
- `/api/groups/`: Full CRUD support.
- `/api/share_links/`: Full CRUD support.
- `/api/custom_fields/`: Full CRUD support.
All of these endpoints except for the logging endpoint allow you to
fetch (and edit and delete where appropriate) individual objects by
@@ -51,6 +52,8 @@ fields:
- `notes`: Array of notes associated with the document.
- `set_permissions`: Allows setting document permissions. Optional,
write-only. See [below](#permissions).
- `custom_fields`: Array of custom fields & values, specified as
{ field: CUSTOM_FIELD_ID, value: VALUE }
## Downloading documents