Request
Provalo
Available · No credits
GET/v1/ogc
curl -s "https://api.risksindex.com/v1/ogc"const res = await fetch("https://api.risksindex.com/v1/ogc");
const { data, meta } = await res.json();import json, urllib.request
req = urllib.request.Request("https://api.risksindex.com/v1/ogc")
with urllib.request.urlopen(req) as res:
answer = json.load(res)200 OKapplication/json
{
"title": "The Global Risks Index API: OGC API - Records catalogue",
"description": "Metadata records of the Index (taxonomies, series, countries, crosswalk sets). No geometry, no spatial asset, no value.",
"links": [
{
"rel": "self",
"type": "application/json",
"href": "/v1/ogc"
},
{
"rel": "service-desc",
"type": "application/vnd.oai.openapi+json;version=3.1",
"href": "/openapi.json"
}
]
} An answer this API gave, shortened. Values change with the data.
The landing page of the OGC API - Records catalogue of the Index records: links to the service description, conformance and the collections. Raw OGC shape, not the envelope. Availability: Available.
Parameters
Parameters
None.
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
Inizia
Get a key with a free account, or choose who the account is for, its seats and any council, and see your workstation first.