← API-referentie

Documenten & opslag

Documenten en opslag — upload, lees en organiseer bestanden.

Document

Endpoints

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

Schema-velden

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

Opslag

Endpoints

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

Schema-velden

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