المطورون
gcri_bulk_stream
NXS Risk Intelligence API
GET /v1/bulk/{collection} EServed
Stream one collection as NDJSON
One record per line, paged internally from the collection's own list route, so the export is exactly what the API serves (same records, licence and provenance). ETag is the snapshot digest: If-None-Match of it answers 304, If-Match of another answers 412 SNAPSHOT_CHANGED, and ?skip= resumes a cut stream. A caller's Authorization is passed through to the route. State: exists.
MCP tool: gcri.bulk_stream
المعلمات
| الاسم | In | النوع | ما يفعله |
|---|---|---|---|
collection إلزامي | path | سلسلة نصية | A collection id from /v1/bulk Example: known-exploited-vulnerabilities |
skip اختياري | query | integer | Records already received (resume) |
format اختياري | query | string (ndjson) | ndjson (the only format built) |
الردود
- 200 The document (application/x-ndjson)
- 304 Not modified: the If-None-Match validator matched the current ETag (a problem, RFC 9457)
- 400 Bad request (BAD_PAGE, BAD_KIND, BAD_ID, BAD_STATE, BAD_JSON, BAD_BODY) (a problem, RFC 9457)
- 404 NOT_FOUND, or NOT_YET_PUBLISHED for a designed route (a problem, RFC 9457)
- 429 RATE_LIMITED: open-tier rate limit (a problem, RFC 9457)
- 500 INTERNAL: unhandled error (a problem, RFC 9457)