PV Power Sites list endpoint response format updated
The GET /resources/pv_power_sites response now includes pagination metadata and returns site records in a results array instead of a top-level array.
Read site records from results
Existing integrations that expected the response itself to be an array should use response.results instead.
Pagination support
Use the skip and take query parameters with the offset and total values in the response.
Before: top-level array
[
{ "resource_id": "cbf6-a872-1cb2-566f", "name": "Example Site" }
]Now: paginated response
{
"offset": 0,
"total": 10,
"results": [
{ "resource_id": "cbf6-a872-1cb2-566f", "name": "Example Site" }
]
}