Desarrolladores
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.
Parámetros
| Nombre | In | Tipo | Lo que hace |
|---|---|---|---|
subsite obligatorio | 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 opcional | query | cadena | Search terms (every term must match) Example: flood |
industry opcional | query | cadena | ISIC Rev.5 section (validated; records are not tagged by industry) |
jurisdiction opcional | query | cadena | alpha-3, M49 or regime (validated; records are not tagged by place) |
hazard opcional | query | cadena | NHS-1 id, family or domain |
net opcional | query | cadena | Network id; only gcri holds records here |
type opcional | query | cadena | A resolvable GCRI record type |
cursor opcional | query | cadena | Opaque cursor from meta.page.next (or the Link header); bound to the snapshot digest |
limit opcional | query | integer | Records per page, 1 to 200 (default 50) |
offset opcional | query | integer | Records to skip (default 0) |
Respuestas
- 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)