Documenten
GET /api/v1/cases/{case}/documents
scope: cases:read 1 credits
De openbare verslagen en registerpublicaties van een dossier, nieuwste eerst, met een link naar het originele document.
Padparameters
| Naam | Type | Omschrijving |
|---|---|---|
case verplicht Dossier-id (ULID) of de slug van het dossier | string | Dossier-id (ULID) of de slug van het dossier |
Antwoord, HTTP 200
Public data
Antwoord, HTTP 200
| Naam | Type | Omschrijving |
|---|---|---|
data verplicht | object[] | |
data[].kind verplicht | enum | report, publication |
data[].id verplicht | string | |
data[].title verplicht | string | null | |
data[].report_number | integer | null | |
data[].publication_number | integer | null | |
data[].publication_type | string | |
data[].date verplicht | string | |
data[].pages | integer | null | |
data[].source verplicht | object | |
data[].source.name verplicht | string | |
data[].url verplicht | string | null |
Antwoord, HTTP 404
Not found
Antwoord, HTTP 404
| Naam | Type | Omschrijving |
|---|---|---|
error verplicht | object | |
error.code verplicht Stable error code, for example not_found or validation_failed | string | Stable error code, for example not_found or validation_failed |
error.message verplicht Human-readable explanation | string | Human-readable explanation |
error.details Extra information, such as the fields that failed validation | object | Extra information, such as the fields that failed validation |
De velden van het antwoord staan in openapi.json. Hoe elke waarde met bron is opgebouwd, leest u bij Gegevens en brondocumenten