Разработчикам
GET_v1_n_subsite_pathways
NXS Risk Intelligence API
GET /v1/n/{subsite}/pathways EServed
Hazard to sector impact chains (niche engine of one subsite)
Chains of recorded NHS-1 relations (trigger, amplify, compound-with, reduces) from a hazard, family or domain, to a depth of 1 to 3, with the sections whose proposed context mapping the reached hazards meet. A chain says a relation is recorded, not that it will happen or how large it is. hazard is required. Scoped by the subsite manifest: its sectors, hazard families and NIS-1 domains. State: exists.
Параметры
| Определение | In | Тип | Что это делает |
|---|---|---|---|
subsite обязательно | 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 |
industry необязательно | query | строка | ISIC Rev.5 section letter A to V (filters), or a 2, 3 or 4 digit division, group or class (accepted by pattern, no filter until the dimensions package merges) |
jurisdiction необязательно | query | строка | ISO 3166-1 alpha-3 country code (e.g. CAN, validated by pattern), a UN M49 region code (e.g. 150) or a regime id (eu, au, asean, un). This product holds no place data, so coverage says none |
hazard необязательно | query | строка | NHS-1 hazard id, family or domain, e.g. water.flood or atmo.cyclone.tropical-cyclone Example: water.deficit |
indicator необязательно | query | строка | NIS-1 indicator id (e.g. IND.CLI.physical_acute.consecutive_dry_days): restricts hazards to those it names |
domain необязательно | query | строка | NIS-1 domain code, e.g. WAT |
depth необязательно | query | integer | Traversal depth 1 to 3 (default 2) Example: 2 |
kind необязательно | query | строка | Comma list: trigger, amplify, compound-with, reduces |
min_confidence необязательно | query | string (low, medium, high) | low, medium or high (default low) |
top необязательно | query | integer | Reached hazards shown, 1 to 200 (default 50): a ranked shortlist, not a page |
Ответы
- 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)