Skip to content

[GET] irradiance

/api/graphs/irradiance

IrradianceGraphRequestDTO

Attributes:

Name Type Description
site_id int

(str) id of the site

start datetime

(str) start datetime in the format "YYYY-MM-DD HH:MM:SS"

end datetime

(str) end datetime in the format "YYYY-MM-DD HH:MM:SS"

graph_type GraphTypeEnum

(str) type of graph to display (line, bar)

IrradianceGraphResponseDTO

Attributes:

Name Type Description
data list

list of graph data

order list

order in which the data appears in the array not counting the first index which is datetime