Request
Deneyin
Available · MCP tool grx.theme_contributions · No credits · Free
GET/v1/themes/{slug}/contributions
curl -s "https://api.risksindex.com/v1/themes/wefh-b/contributions"const res = await fetch("https://api.risksindex.com/v1/themes/wefh-b/contributions");
const { data, meta } = await res.json();import json, urllib.request
req = urllib.request.Request("https://api.risksindex.com/v1/themes/wefh-b/contributions")
with urllib.request.urlopen(req) as res:
answer = json.load(res)200 OKapplication/json
{
"data": [],
"meta": {
"authority": "The Global Risks Index (NXS-GRX), GCRI Canada",
"state": "D",
"coverage": {
"status": "none",
"records": 0
},
"intake": {
"state": "D",
"declaredFeatures": "contracts/intake/index/main.json",
"sha256": "e056c66c9d85b93924ecea63f2c018ec76e95221ad52f04b59c85e2b5ac50781",
"note": "Designed, not built. No contribution reaches this file yet: the Index site's forms (GRX-MAIN value-correction, data-offer, government-reply) have no live runtime or review route in this repository, an…"
},
"note": "Published contributions are accepted, de-identified records that carry a review record, the licence the contributor granted and the provenance { source: \"intake\", feature, reviewRole, decisionId }. Se…",
"provenance": {
"repository": "nexus-wp (services/index-api)",
"commit": "n/a: the file is pinned with the service build and identified by its sha256",
"path": "services/index-api/data/intake/published.json",
"sha256": "e056c66c9d85b93924ecea63f2c018ec76e95221ad52f04b59c85e2b5ac50781",
"licence": "per contribution: each record carries the licence its contributor granted",
"snapshotAt": "2026-11-22T01:34:55.802Z",
"source": "intake"
},
"subsite": {
"kind": "theme",
"code": "TH-01",
"title": "WEFH-B Interdependency",
"route": "/v1/themes/wefh-b/contributions"
},
"page": {
"limit": 50,
"offset": 0,
"total": 0,
"next": null,
"prev": null
},
"service": "nxs-index-api",
"version": "0.9.0"
}
} An answer this API gave, shortened. Values change with the data.
The published contributions tagged with this theme. The route is built; coverage is none until one is published. Availability: Available.
Parameters
Parameters
slugrequiredpath · string
Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b
qoptionalquery · string
Search terms in the contribution text
typeoptionalquery · string
data-correction, source-suggestion, right-of-reply or local-observation
featureoptionalquery · string
The declared site feature
limitoptionalquery · integer
Records per page, 1 to 200 (default 50)
cursoroptionalquery · string
Opaque cursor from meta.page.next or prev (snapshot-bound)
offsetoptionalquery · integer
Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor
Answers
Responses
- 200
Records with provenance, coverage and links
- 304
Not modified: If-None-Match matched the snapshot digest
- 400Problem, RFC 9457
Bad cursor. Codes: BAD_CURSOR, BAD_LAYER, BAD_PAGE, BAD_THEME
- 401
- 404Problem, RFC 9457
Not found. Codes: NOT_FOUND
- 414
- 429Problem, RFC 9457
Rate limited. Codes: RATE_LIMITED
- 500Problem, RFC 9457
Internal error. Codes: INTERNAL
Başlayın
Get a key with a free account, or choose who the account is for, its seats and any council, and see your workstation first.