Перейти к содержанию
The Consortium

Разработчикам

GET_v1_n_subsite_search

NXS Risk Intelligence API

Open. Reading is free and needs no key.

GET /v1/n/{subsite}/search EServed

All operations

Search the records of one subsite

Deterministic keyword search (no model call) over the stored GCRI records that bear on this subsite's NHS-1 families or name it, each hit explained. Scoped to the subsite manifest: its NHS-1 families, NIS-1 domains, sections and engines. State: exists.

Параметры

Параметры
ОпределениеInТипЧто это делает
subsite обязательноpathstring (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
q необязательноqueryстрокаSearch terms (every term must match) Example: flood
industry необязательноqueryстрокаISIC Rev.5 section (validated; records are not tagged by industry)
jurisdiction необязательноqueryстрокаalpha-3, M49 or regime (validated; records are not tagged by place)
hazard необязательноqueryстрокаNHS-1 id, family or domain
net необязательноqueryстрокаNetwork id; only gcri holds records here
type необязательноqueryстрокаA resolvable GCRI record type
cursor необязательноqueryстрокаOpaque cursor from meta.page.next (or the Link header); bound to the snapshot digest
limit необязательноqueryintegerRecords per page, 1 to 200 (default 50)
offset необязательноqueryintegerRecords 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)