Metadata API

The Surrey-i API is based on CKAN’s metadata management endpoints:

Fetch the whole catalogue http://www.surreyi.gov.uk/data.json
List all Datasets http://www.surreyi.gov.uk/api/3/action/package_list
View a Dataset http://www.surreyi.gov.uk/api/3/action/package_show?id=prison-population-by-prison
Search for Datasets related to ‘schools’ http://www.surreyi.gov.uk/api/3/action/package_search?q=schools