Collection APIs
Last updated
Was this helpful?
Last updated
Was this helpful?
This API returns a list of all the collections on data.gov.sg
This API returns the metadata of a single collection and the datasets within it
To find the collectionId, refer to the URL of collection.
For this collection:
https://beta.data.gov.sg/collections/522/view
The collectionId is:
522
/v2/public/api/collections/{collectionId}/metadata?withDatasetMetadata=true
The unique identifier of the collection (number)
Include dataset metadata (true or false, default is false)