Area
Changed onProvides an array of areas of an area type.
get/area/{area_type}
Request
- Base URLhttps://api.coronavirus.data.gov.uk/generic
- Authnone declared. Required headers: Accept
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
area_type'nation' | 'region' | 'utla' | 'ltla' | 'msoa' | 'nhsRegion' | 'nhsTrust' required
Type of the area whose children are being requested.
Headers
Accept'application/json' required
Accept-Encoding'deflate' | 'gzip' | 'br'
Response
Returns all areas for the given area type
Changes
- breaking
the mandatory response header
phe-website-requestremoved for the status200 - breaking
the mandatory response header
x-phe-media-typeremoved for the status200 - warning
the optional response header
phe-server-locremoved for the status200
- breaking
- breaking
the mandatory response header
ukhsa-website-requestremoved for the status200 - breaking
the mandatory response header
x-ukhsa-media-typeremoved for the status200 - warning
the optional response header
ukhsa-server-locremoved for the status200
- breaking