About this trigger
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
- API endpoint slug
- misfit.sleep_duration_above
Trigger fields
Target hours Dropdown list
- Label
- Target hours
- Helper text
- Slug
- target_hours
- Required
- true
- Can have default value
- true
Ingredients
Sleep start
- Slug
- start_time
- Filter code
- Misfit.sleepDurationAbove.SleepStart
- Type
- String
- Example
- 2014-08-22 23:37
Target hours
- Slug
- target_hours
- Filter code
- Misfit.sleepDurationAbove.TargetHours
- Type
- String
- Example
- 7.5
Time awoken
- Slug
- wake_up_at
- Filter code
- Misfit.sleepDurationAbove.TimeAwoken
- Type
- String
- Example
- 2014-08-28 06:35
Total time of restfully slept
- Slug
- restful_sleep_duration_readable
- Filter code
- Misfit.sleepDurationAbove.TotalTimeOfRestfullySlept
- Type
- String
- Example
- 3 hours 32 mins
Total time of restfully slept in seconds
- Slug
- restful_sleep_duration
- Filter code
- Misfit.sleepDurationAbove.TotalTimeOfRestfullySleptInSeconds
- Type
- String
- Example
- 14030
Total time slept
- Slug
- sleep_time_readable
- Filter code
- Misfit.sleepDurationAbove.TotalTimeSlept
- Type
- String
- Example
- 7 hours 23 mins
Total time slept in seconds
- Slug
- sleep_time
- Filter code
- Misfit.sleepDurationAbove.TotalTimeSleptInSeconds
- Type
- String
- Example
- 27388