Get dataset metadata
Dataset Metadata
This API returns the metadata of a single dataset
Path parameters
datasetIdstringRequired
The unique identifier of the dataset
Header parameters
x-api-keystringOptional
API key for higher rate limits (optional)
Responses
200
Successful response
application/json
get
GET /v2/public/api/datasets/{datasetId}/metadata HTTP/1.1
Host: api-production.data.gov.sg
Accept: */*
200
Successful response
{
"code": 1,
"data": {
"datasetId": "text",
"createdAt": "2023-02-17T18:54:57+08:00",
"name": "text",
"format": "text",
"lastUpdatedAt": "2023-02-17T18:54:57+08:00",
"managedBy": "text",
"coverageStart": "2023-02-17T18:54:57+08:00",
"coverageEnd": "2023-02-17T18:54:57+08:00",
"columnMetadata": {
"order": [
"text"
],
"map": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"metaMapping": {
"ANY_ADDITIONAL_PROPERTY": {
"name": "text",
"columnTitle": "text",
"dataType": 1,
"index": "text"
}
}
}
},
"errorMsg": "text"
}
Last updated
Was this helpful?