Geliştiriciler
GET_v1_n_subsite_search
NXS Risk Intelligence API
GET /v1/n/{subsite}/search EServed
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.
Parametreler
| Ad | In | Tür | Ne yapar |
|---|---|---|---|
subsite zorunlu | 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 |
q isteğe bağlı | query | dize | Search terms (every term must match) Example: flood |
industry isteğe bağlı | query | dize | ISIC Rev.5 section (validated; records are not tagged by industry) |
jurisdiction isteğe bağlı | query | dize | alpha-3, M49 or regime (validated; records are not tagged by place) |
hazard isteğe bağlı | query | dize | NHS-1 id, family or domain |
net isteğe bağlı | query | dize | Network id; only gcri holds records here |
type isteğe bağlı | query | dize | A resolvable GCRI record type |
cursor isteğe bağlı | query | dize | Opaque cursor from meta.page.next (or the Link header); bound to the snapshot digest |
limit isteğe bağlı | query | integer | Records per page, 1 to 200 (default 50) |
offset isteğe bağlı | query | integer | Records to skip (default 0) |
Yanıtlar
- 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)