GET Solar Farm Data
GET {{url}}/solar_farms?org_id={{org_id}}
This request requires a bearer token for authentication and an organization ID (org_id) for proper filtering. It will return a list of farm objects that belong to the specified organization.
Each farm object should look like this:
{
"address": "string",
"asset_id": "string", // optional field, only appears if populated
"client_org_id": "int",
"country": "string",
"created_tsecs": "double", // time farm was create
"id": "int",
"latitude": "float",
"longitude": "float",
"module_layout": "string",
"module_mount": "string",
"name": "string",
"site_layout": "string",
"size": "float",
"state": "string",
"status": "int",
"updated_tsecs": "double",
"uuid": "string"
}
In this case, we'll be using the value in the UUID field from the first farm returned in order to retrieve a list of inspections.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
org_id | string |