Returns the power data in Watts for the requested circuit.

Example Request

$ curl -i https://app.verdigris.co/api/v1/circuits/1765/power -H "Authorization: Token token=<access_token>"

Examples

// keys are unix epoch timestamps in string format, values are Watt-hours
{
  "1411430400": 15.5,
  "1411516800": 2.8,
  "1411603200": 7.2,
}

Params

Param name Description
circuit_id
required

circuit id


Value:

Must be String

end_time
optional

End time in unix timestamp


Value:

Must be String

interval
optional

Time granularity in minutes (default: 1440)


Value:

Must be String

limit
optional

Number of results (default: 30, max: 300)


Value:

Must be String

start_time
optional

Start time in unix timestamp (default: 0)


Value:

Must be String