বিষয়বস্তুতে যান
The Consortium

ডেভেলপার

gcri_neighbours

NXS Risk Intelligence API

Open. Reading is free and needs no key.

GET /v1/neighbours/{id} EServed

All operations

Typed neighbours of a GCRI record

The outgoing typed links of a record and the inverse links over the resolvable corpus, to depth 3 at most, optionally for one rel of the link vocabulary. A node outside the corpus is a leaf: its own neighbours are its network's. State: exists.

MCP tool: gcri.neighbours

Parameters

Parameters
নামInTypeএটি কী করে
id requiredpathstringA resolvable GCRI CURIE Example: gcri:signal-source/wri-aqueduct
depth optionalqueryintegerDepth 1 to 3 (default 1) Example: 1
rel optionalquerystringOne rel of the link vocabulary

Responses

  • 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)