Request
试一试
Available · No credits
GET/v1/ogc/collections
curl -s "https://api.risksindex.com/v1/ogc/collections"const res = await fetch("https://api.risksindex.com/v1/ogc/collections");
const { data, meta } = await res.json();import json, urllib.request
req = urllib.request.Request("https://api.risksindex.com/v1/ogc/collections")
with urllib.request.urlopen(req) as res:
answer = json.load(res)200 OKapplication/json
{
"collections": [
{
"id": "hazards",
"title": "NHS-1 hazards",
"description": "The hazard taxonomy authored by Nexus Standards (draft, expert review required).",
"itemType": "record",
"extent": {
"spatial": {
"bbox": [
[
-180,
-90
]
],
"crs": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"temporal": {
"interval": [
[
null,
null
]
]
}
},
"links": [
{
"rel": "self",
"type": "application/json",
"href": "/v1/ogc/collections/hazards"
},
{
"rel": "items",
"type": "application/geo+json",
"href": "/v1/ogc/collections/hazards/items"
}
],
"index:records": 905,
"provenance": [
{
"repository": "nexus-estate/nexus-standards-full",
"commit": "2fcbde115623f8b75a12a91177893f80feb7ee1c",
"path": "registry/native/nhs-1.json",
"sha256": "cf483570ce455cb47a20260a23af594d334a8bed4107a677922093029f3c96c6",
"licence": "CC-BY-4.0",
"snapshotAt": "2026-11-22T01:34:55.802Z",
"carriedVia": {
"repository": "nexus-estate/nexus-wp",
"commit": "4a7662f4cc254b5c8ef373764ca8b953775c114e",
"path": "services/risk-graph/data/snapshot/hazards.json",
"sha256": "de76b0add311002f6c3f3ff64a59a55ecd85e0aaf3deb2befca60d99fa5c3128"
}
}
]
},
{
"id": "hazard-families",
"title": "NHS-1 hazard families",
"description": "Families of the hazard taxonomy.",
"itemType": "record",
"extent": {
"spatial": {
"bbox": [
[
-180,
-90
]
],
"crs": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"temporal": {
"interval": [
[
null,
null
]
]
}
},
"links": [
{
"rel": "self",
"type": "application/json",
"href": "/v1/ogc/collections/hazard-families"
},
{
"rel": "items",
"type": "application/geo+json",
"href": "/v1/ogc/collections/hazard-families/items"
}
],
"index:records": 120,
"provenance": [
{
"repository": "nexus-estate/nexus-standards-full",
"commit": "2fcbde115623f8b75a12a91177893f80feb7ee1c",
"path": "registry/native/nhs-1.json",
"sha256": "cf483570ce455cb47a20260a23af594d334a8bed4107a677922093029f3c96c6",
"licence": "CC-BY-4.0",
"snapshotAt": "2026-11-22T01:34:55.802Z",
"carriedVia": {
"repository": "nexus-estate/nexus-wp",
"commit": "4a7662f4cc254b5c8ef373764ca8b953775c114e",
"path": "services/risk-graph/data/snapshot/hazards.json",
"sha256": "de76b0add311002f6c3f3ff64a59a55ecd85e0aaf3deb2befca60d99fa5c3128"
}
}
]
}
],
"links": [
{
"rel": "self",
"type": "application/json",
"href": "/v1/ogc/collections"
}
]
} An answer this API gave, shortened. Values change with the data.
Collections of metadata records: NHS-1 hazards and families, NIS-1 indicators and domains, series, country profiles and crosswalk sets. 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
开始使用
Get a key with a free account, or choose who the account is for, its seats and any council, and see your workstation first.