رفتن به محتوا
The Consortium

Risks Index APIOperational

GET_v1_ogc_collections_collection_

One OGC collection

Request

امتحان کنید

Available · No credits

https://api.risksindex.com

GET/v1/ogc/collections/{collection}

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

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

200 OKapplication/json

"/v1/ogc/collections/hazards"

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

The collection document with its links and record count. Availability: Available.

Parameters

Parameters

  • collectionrequired

    path · string

    hazards, hazard-families, indicators, indicator-domains, series, countries or mapping-sets

Answers

Responses

  • 200

    An OGC API document (raw OGC shape, not the envelope)

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