[GET] registeredSites
/api/registeredSites
RegisteredSitesResponseDTO
Attributes:
| Name | Type | Description |
|---|---|---|
sites |
List[RegisteredSiteDTO]
|
list of sites accessible to the user |
RegisteredSiteDTO
Attributes:
| Name | Type | Description |
|---|---|---|
site_id |
int
|
id of the site |
site_name |
str
|
name of the site |
service |
str
|
service type of the site |
inverters_per_meter |
Optional[dict]
|
inverters under a solar meter |
devices |
Optional[List[RegisteredDeviceDTO]]
|
list of devices |
site_image |
Optional[str]
|
Base64 encoded image of the site |
RegisteredDeviceDTO
Attributes:
| Name | Type | Description |
|---|---|---|
meter_id |
int
|
id of the meter |
name |
str
|
name of the meter |
type |
DeviceTypeEnum
|
device type of the meter |