List the regions created by your organisation (geometry omitted — retrieve a single region for its GeoJSON boundary).
Security
oauth2(Required scopes: region:read)
- Mock serverhttps://developers.ev.energy/_mock/ev.energy-api-v2/regions
- Live API for both production and sandbox requests.https://api.ev.energy/v2/regions
- Staging server for internal testing only.https://api-staging.ev.energy/v2/regions
curl -i -X GET \
'https://developers.ev.energy/_mock/ev.energy-api-v2/regions?page_before=xmpl01HNFZM7Q8FXASZXYZ6XM3TQRR&page_after=xmpl01HNFZM7Q8FXASZXYZ6XM3TQRR&page_size=10&name=string&name__in=string®ion_group_id=string&type=OTHER&contains=42.2793%2C-71.1631' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'EvEnergy-Version: 2'OK
Headers
Provides links to the previous and next pages of data, if they exist.
Example:"<https://api.ev.energy/v2/vehicles?page_size=25&page_before=vhcl01HRFF3SEVSCRAV9B3CHVDFN0H>; rel=\"previous\", <https://api.ev.energy/v2/vehicles?pag
Indicates the version of the API that generated this response. If EvEnergy-Version was not specified in the request, this will be your OAuth application's default version.
Value:2
The maximum number of requests that can be made to this endpoint per hour. Defaults to 1000 but may vary per client.
Default:1000
Array [
]
Response
[ { "id": "regn01JCK1HPNAANB8WN253G27SFPC", "url": "https://api.ev.energy/v2/regions/regn01JCK1HPNAANB8WN253G27SFPC", "name": "WEST ROXBURY", "type": "OTHER", "region_groups": [ … ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ]