Entwickler
GET_v1_bulk_collection_
NXS Risk Policy and Governance API
GET /v1/bulk/{collection} EServed
Stream a collection as NDJSON
One record per line (application/x-ndjson), by paging the collection's own route internally from one snapshot. ETag is the snapshot digest: If-None-Match of the same digest answers 304, If-Match of another digest answers 412 SNAPSHOT_CHANGED. Resume a cut stream with ?skip= . format other than ndjson is designed, not built. State: exists.
Parameter
| Name | In | Art | Was es tut |
|---|---|---|---|
collection required | path | string | Collection id from /v1/bulk |
skip optional | query | integer | Records already received (resume), a whole number |
format optional | query | string | ndjson (the only format built) |
Responses
- 200 NDJSON, one record per line
- 304 Not modified: If-None-Match matches the snapshot digest
- 400 BAD_PAGE, BAD_QUERY, BAD_ID or BAD_DIMENSION (an unknown or malformed industry, jurisdiction, region, regime, hazard, domain, topic, status or date) (a problem, RFC 9457)
- 404 NOT_FOUND (an unknown id or subsite), or NOT_YET_PUBLISHED where no record exists (a problem, RFC 9457)
- 412 SNAPSHOT_CHANGED: the data moved on since the export began (a problem, RFC 9457)
- 429 RATE_LIMITED: open-tier limit; Retry-After says when to retry (a problem, RFC 9457)
- 500 INTERNAL (a problem, RFC 9457)
- 501 STEP_NOT_BUILT: a designed solution step answers this with what it needs (a problem, RFC 9457)
- 502 UPSTREAM_ERROR: the backend answered an error or not JSON (a problem, RFC 9457)
- 503 BACKEND_CONNECTION_OFF (a problem, RFC 9457)
- 504 UPSTREAM_TIMEOUT (a problem, RFC 9457)