settings

Manage desktop Stay Awake

Changed on
post/api/v1/awake/sessions

Request

  • Base URL
    http://127.0.0.1:3001
  • URL
    http://127.0.0.1:3001/api/v1/awake/sessions
  • Auth
    none declared

Request body

boundIdstring required
boundIdentitystring
durationSecondsinteger required
lidClosedboolean required
mode'indefinite' | 'duration' | 'until' | 'app' | 'download' required
scope'ao' | 'session' required
sessionIdstring required
untilstring date-time nullable

Response

OK

activeboolean required
activeRulesstring[] required
agentOutcomestring required
lidActiveboolean required
networkOutcomestring required
pausedboolean required
reasonstring required
startedAtstring date-time nullable

Changes

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      endpoint added