Tsiba uye kumxholo
The Consortium

Risks Index APIOperational

GET_v1_profiles_editions_edition_

One edition of the jurisdiction profiles (immutable)

Request

Yizame

Available · No credits

https://api.risksindex.com

GET/v1/profiles/editions/{edition}

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

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

200 OKapplication/json

{
  "data": {
    "edition": "idx-949f583329bfb9c1c6c2",
    "publishedAt": "repository",
    "schema": "nexus.index.jurisdiction-profiles/v1",
    "builder": {
      "digest": "d5df5d9155a82f760883f0a9bb7e85046f036bca26c1682e926b0f8a2f3b…",
      "name": "index-api profiles",
      "version": "1.0.0"
    },
    "pin": {
      "branch": "claude/copy-base-english",
      "commit": "df23cbe6e7bbc2b28f1c7eafed95e96389738321",
      "path": "the network's own records",
      "repository": "nexus-estate/global-risk-index"
    },
    "counts": {
      "adm1": 3162,
      "adm2": 48427,
      "adm3": 89183,
      "countries": 195,
      "objects": 1149,
      "values": 524929
    },
    "maps": {
      "attributes": "countries[].files.map",
      "join": "feature id = unit path",
      "tiles": {
        "layers": [],
        "manifest": "the network's own records…",
        "sha256": "61b8796e1ec50cabb2ffeb599fccbde3fdea7b8debcebcb432a2a4d799a5…",
        "target": "/nx-data/pmtiles/index.pmtiles"
      }
    },
    "h3": {
      "resolution": 4
    },
    "composite": {
      "released": false
    },
    "inputs": {
      "the network's own records": "5262f3894f63145af598635a47f46a54518fcbbea7ed28721d13921e38ef…",
      "the network's own records": "2603cce3620d448e9e438d679ffad3773703a4b5a15c60d406aeaa8d4cb1…",
      "services/index-api/data/intake/published.json": "e056c66c9d85b93924ecea63f2c018ec76e95221ad52f04b59c85e2b5ac5…",
      "services/index-api/data/snapshot/registry.json": "15e3cc95b2368677b74c6717c7ae920ae725e887764c102d2f3b66991c84…"
    },
    "files": {
      "manifest": "/nx-data/index/editions/idx-949f583329bfb9c1c6c2/manifest.js…",
      "roCrate": "/nx-data/index/editions/idx-949f583329bfb9c1c6c2/ro-crate-me…",
      "checksums": "/nx-data/index/editions/idx-949f583329bfb9c1c6c2/SHA256SUMS"
    }
  },
  "meta": {
    "authority": "The Global Risks Index (NXS-GRX), GCRI Canada",
    "state": "E",
    "edition": "idx-949f583329bfb9c1c6c2",
    "publishedAt": "repository",
    "provenance": {
      "repository": "nexus-estate/global-risk-index",
      "commit": "df23cbe6e7bbc2b28f1c7eafed95e96389738321",
      "path": "editions/idx-949f583329bfb9c1c6c2/manifest.json",
      "sha256": "idx-949f583329bfb9c1c6c2",
      "licence": "Per value: each value carries the licence of its source (dat…",
      "snapshotAt": "repository",
      "edition": "idx-949f583329bfb9c1c6c2",
      "builder": {
        "digest": "d5df5d9155a82f760883f0a9bb7e85046f036bca26c1682e926b0f8a2f3b…",
        "name": "index-api profiles",
        "version": "1.0.0"
      }
    },
    "composite": {
      "released": false,
      "note": "No Index edition is released: no composite value, score, ran…"
    },
    "service": "nxs-index-api",
    "version": "0.9.0"
  }
}

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

The same summary for a named edition; `current` is accepted and answers with the short cache. Availability: Available.

Parameters

Parameters

  • editionrequired

    path · string

    An edition id of the profiles register (idx- and 20 hex) or current

Answers

Responses

  • 200

    Records with provenance, coverage and links

  • 304

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

  • 401

  • 404Problem, RFC 9457

    Edition not held. Codes: EDITION_NOT_HELD, NOT_FOUND

  • 414

  • 429Problem, RFC 9457

    Rate limited. Codes: RATE_LIMITED

  • 500Problem, RFC 9457

    Internal error. Codes: INTERNAL

  • 503Problem, RFC 9457

    Profiles unavailable. Codes: PROFILES_UNAVAILABLE

Get started

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