← API-reference

Dokumenter og lager

Dokumenter og lager — upload, læs og organiser filer.

Dokument

Endpoints

GET /documents
POST /documents
GET /documents/{id}
PATCH /documents/{id}
DELETE /documents/{id}
GET /documents/action-needed

Skemafelter

FeltType
documentType* string (iri-reference)
relationId* integernull
relationUuid stringnull
expiringAt string,null (date-time)
storage* string (iri-reference)
notes stringnull

Lager

Endpoints

GET /storage/{id}
DELETE /storage/{id}
GET /storage/{id}/preview
GET /storage/mt940
POST /storage/upload

Skemafelter

FeltType
id string
relationName* string
relationId* string
size integer
mimeType string