Sviluppatori
GET_v1_n_subsite_niche_screen
NXS Risk Intelligence API
GET /v1/n/{subsite}/niche/screen EServed
Asset and hazard pathway screen (illustrative, on the caller's inputs)
Niche resource: for each asset the caller names with the hazard it depends on (name:hazard pairs, at most 10), the recorded NHS-1 relations around the hazard, what it takes to observe it, the indicators that name it and the signal sources. Illustrative; the caller states the dependency; no place, exposure or loss data is used. A hazard outside the subsite scope is a 400. State: exists.
Parametri
| Nome | In | Tipo | Cosa fa |
|---|---|---|---|
q facoltativo | query | stringa | Search terms: every term, case-insensitive, occurs in the record (for a change feed: in the event type or subject) |
subsite obbligatorio | path | string (water-nexus, food-nexus, energy-nexus, health-nexus, biodiversity-nexus, risk-management, climate-hazards, disaster-resilience, critical-infrastructure, cities-built-environment, trade-strategic-resources, oceans-coasts, ai-autonomous-systems, cyber-digital-resilience, data-compute, quantum, space-earth-observation, biotechnology-biosecurity, advanced-industry-robotics, economic-development, human-development, future-work-skills, digital-public-infrastructure, systems-modelling) | A GCRI niche-engine subsite (a manifest in contracts/platforms/gcri) Example: critical-infrastructure |
assets facoltativo | query | stringa | Comma list of name:hazard pairs, e.g. substation:infra.energy.grid-failure Example: substation:infra.utilities |
cursor facoltativo | query | stringa | Opaque cursor from meta.page.next (or the Link header); bound to the snapshot digest |
limit facoltativo | query | integer | Records per page, 1 to 200 (default 50) |
offset facoltativo | query | integer | Records to skip (default 0) |
Risposte
- 200 Records with provenance
- 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)