Code
Changed onReturn the related area names and codes based on given category and search parameters.
get/code
Request
- Base URLhttps://api.coronavirus.data.gov.uk/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
category'postcode' | 'lsoa' | 'msoa' | 'ltla' | 'utla' | 'region' | 'nation'
Search by code category.
searchstring
String to search for in given category.
Response
Returns area names and codes.
Changes
- info
added the new optional
queryrequest parametercategory - info
added the new optional
queryrequest parametersearch - info
added the media type
application/jsonfor the response with the status
- info