API endpoints
This page list the endpoints available for accessing the metadata programmatically. Supported file types are json
and xml
.
Note that the structure of the responses is experimental during this pilot, and could change.
-
GET /api/indicators.[file type]
An array of indicator ids.
-
GET /api/[indicator id]/fields.[file type]
An array of field names for the specified indicator.
-
GET /api/[indicator id].[file type]
All metadata fields for the specified indicator, translated into all languages.
-
GET /api/[indicator id]/[language].[file type]
All metadata fields for the specified indicator, translated into the specified language.
-
GET /api/[indicator id]/[field].[file type]
The specified metadata field for the specified indicator, translated into all languages.
-
GET /api/[indicator id]/[field]/[language].[file type]
The specified metadata field for the specified indicator, translated into the specified language.
-
GET /api/all.[file type]
All translations of all fields in all indicators.