开发者
GET_v1_n_subsite_niche_chains
NXS Risk Intelligence API
GET /v1/n/{subsite}/niche/chains EServed
Impact chains from the subsite hazard families
Niche resource: for each hazard family of the subsite, the NHS-1 relation chains from its eight most-related hazards (confidence medium or higher): reach, edges, the contexts reached and a sample. State: exists.
参数
| 名称 | In | 类型 | 功能 |
|---|---|---|---|
q 可选 | query | 字符串 | Search terms: every term, case-insensitive, occurs in the record (for a change feed: in the event type or subject) |
subsite required | 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: water-nexus |
family 可选 | query | 字符串 | One of the subsite hazard families Example: water.flood |
depth 可选 | query | integer | Depth 1 to 3 (default 2) |
cursor 可选 | query | 字符串 | Opaque cursor from meta.page.next (or the Link header); bound to the snapshot digest |
limit 可选 | query | integer | Records per page, 1 to 200 (default 50) |
offset 可选 | query | integer | Records to skip (default 0) |
回复
- 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)