انتقل إلى المحتوى
The Consortium

Risks Index APIOperational

grx_deprecations

Deprecated routes and parameters

Request

جرّبه

Available · MCP tool grx.deprecations · No credits

https://api.risksindex.com

GET/v1/deprecations

curl -s "https://api.risksindex.com/v1/deprecations"
const res = await fetch("https://api.risksindex.com/v1/deprecations");
const { data, meta } = await res.json();
import json, urllib.request

req = urllib.request.Request("https://api.risksindex.com/v1/deprecations")
with urllib.request.urlopen(req) as res:
    answer = json.load(res)

200 OKapplication/json

{
  "data": {
    "policy": "A superseded route answers 308 with Deprecation (RFC 9745), Sunset (RFC 8594) and Link rel successor-version and deprecation, for at least 12 months from the deprecation date.",
    "routes": [
      {
        "from": "/v1/what-changed",
        "to": "/v1/grx/org/what-changed",
        "method": "GET",
        "status": 308,
        "deprecated": "2026-11-22",
        "sunset": "2027-11-22"
      },
      {
        "from": "/v1/corrections",
        "to": "/v1/grx/org/corrections",
        "method": "GET",
        "status": 308,
        "deprecated": "2026-11-22",
        "sunset": "2027-11-22"
      }
    ],
    "parameters": [
      {
        "name": "risk",
        "successor": "hazard",
        "deprecated": "2026-11-22",
        "sunset": "2027-11-22",
        "signal": "Deprecation and Sunset headers on every answer that used it"
      },
      {
        "name": "country",
        "successor": "jurisdiction",
        "routes": [
          "/v1/profiles/editions/{edition}/bulk"
        ],
        "deprecated": "2026-11-24",
        "sunset": "2027-11-24",
        "signal": "Deprecation, Sunset and Link rel deprecation headers on every answer that used it"
      }
    ]
  },
  "meta": {
    "authority": "The Global Risks Index (NXS-GRX), GCRI Canada",
    "state": "E",
    "provenance": {
      "repository": "nexus-estate/nexus-wp",
      "commit": "4a7662f4cc254b5c8ef373764ca8b953775c114e",
      "path": "the network's own records",
      "sha256": "187d54cab617e4825f4fc45d85879ebfe9b39e6ec939a2b037426ab3141708c1",
      "licence": "PENDING (Index registry licence not recorded: global-risk-index the network's own records D-9; no licence is granted until recorded)",
      "snapshotAt": "2026-11-22T01:34:55.802Z",
      "upstreamCommit": "96a5234c"
    },
    "coverage": {
      "status": "full",
      "records": 13
    },
    "service": "nxs-index-api",
    "version": "0.9.0"
  }
}

An answer this API gave, shortened. Values change with the data.

Superseded routes (308 with Deprecation, Sunset and successor links) and the deprecated parameters (risk, alias of hazard; country, alias of jurisdiction on the profiles bulk listing), with at least 12 months of notice. Availability: Available.

Parameters

Parameters

None.

Answers

Responses

  • 200

    Records with provenance, coverage and links

  • 304

    Not modified: If-None-Match matched the snapshot digest

  • 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

ابدأ

Get a key with a free account, or choose who the account is for, its seats and any council, and see your workstation first.