मजकुराकडे जा
The Consortium

विकसक

GET_v1_changes

NXS Risk Policy and Governance API

Open. Reading is free and needs no key.

GET /v1/changes EServed

All operations

Change feed: CloudEvents batch

What changed in the register, as a CloudEvents 1.0 batch (application/cloudevents-batch+json; send Accept: application/json for the {data, meta} envelope). Event types are grf. .created, updated, corrected and withdrawn; types are policy-instrument, obligation, governance-framework, checklist-item, subsite, solution and scheme. Events are derived from the snapshot diff between the source commits and carry the provenance block (repository, commit, path, SHA-256, licence, snapshotAt). corrected events come only from the correction ledger. Filter with since (a date or date-time), type, subject and the paging cursor. State: exists.

Parameters

Parameters
नावInप्रकारहे काय करते
q optionalquerystringWords that must all appear (case-insensitive), at most 200 characters
since optionalquerystringEvents at or after this date or date-time
type optionalquerystringEvent types, comma separated, for example grf.policy-instrument.updated
subject optionalquerystringA record id (CURIE)
cursor optionalquerystringOpaque cursor from meta.page.next or the Link header (bound to the snapshot; 400 CURSOR_STALE after it changes). Use it instead of offset.
limit optionalqueryintegerRecords per page, 1 to 200 (default 50)
offset optionalqueryintegerRecords to skip (default 0)

Responses

  • 200 Records with provenance
  • 304 Not modified: If-None-Match matches the current ETag
  • 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)
  • 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)