List all the solar arrays that the authorization token has access to.
Security
oauth2(Required scopes: solar:read)
- Mock serverhttps://developers.ev.energy/_mock/ev.energy-api-v2/solar_arrays
- Live API for both production and sandbox requests.https://api.ev.energy/v2/solar_arrays
- Staging server for internal testing only.https://api-staging.ev.energy/v2/solar_arrays
curl -i -X GET \
'https://developers.ev.energy/_mock/ev.energy-api-v2/solar_arrays?page_before=xmpl01HNFZM7Q8FXASZXYZ6XM3TQRR&page_after=xmpl01HNFZM7Q8FXASZXYZ6XM3TQRR&page_size=10&expand=user&vehicle_id=vhcl01HRFF3SEVSCRAV9B3CHVDFN0H' \
-H 'Accept-Language: string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'EvEnergy-User: user01HN2NJ9NMRZBXT1H6FT9N7735' \
-H 'EvEnergy-Version: 2'Returns a list of solar arrays.
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
The number of requests remaining until this client's rate limit is reached.
Default:999
Array []
Unique identifier for the given Solar Array.
Example:"solr01JASZTD3T7N39DTZPBJVXNPKP"
Example:"https://api.ev.energy/solar_arrays/solr01JASZTD3T7N39DTZPBJVXNPKP"
One of:
Reference of the connected inverter.
string or null (uri)
Response
[ { "id": "solr01JASZTD3T7N39DTZPBJVXNPKP", "url": "https://api.ev.energy/v2/solar_arrays/solr01JASZTD3T7N39DTZPBJVXNPKP", "capacity_watts": 7000, "inverter": "https://api.ev.energy/v2/inverters/invtFB08NVS8KADFY6GAQ9C6RMFGUY", "forecast": { … }, "user": "https://api.ev.energy/v2/users/user01HN2NJ9NMRZBXT1H6FT9N7735" } ]