A beginner's guide
Explore Plans
Mobile menu Close menu
equiwattequiwatt

List equivents

This query returns all past equivents.

About this query

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This query returns all past equivents.
API endpoint slug
equiwatt.list_equivents
Runtime method
performQuery("equiwatt.list_equivents")

Query fields

Include current Dropdown list

Label
Include any current event
Helper text
Controls whether to include any currently running event.
Slug
include_current
Required
false
Can have default value
true

Ingredients

Event finishedThe time equivent will be finished. Can be empty.

Slug
event_finished
Filter code
Equiwatt.listEquivents.EventFinished
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Event startedThe time equivent started

Slug
event_started
Filter code
Equiwatt.listEquivents.EventStarted
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

DurationDuration of equivent in seconds.

Slug
duration
Filter code
Equiwatt.listEquivents.Duration
Type
String
Example
3600