Internal

Report this computer's session access and sessions

Changed on

Replaces what Den knows about the runner's sessions: the access in force on the computer (off, created or all), whether its owner chose it (chosen, from runners with remote_session_choice_v1) and, while access is all, the sessions it has. Only the computer's owner ever sees them. Den never keeps more than the organization's ceiling allows: under a ceiling of created it keeps created at most, under off it keeps off, and no sessions either way, whatever was sent. From a runner whose owner can choose, Den keeps the access only when chosen is true; until then the organization's default applies. From a runner whose owner cannot, Den keeps created at most while remoteTasksOptIn is on, when that computer takes nothing whatever it reports. A report kept as anything but all also detaches the attach commands this runner delivered. The response carries the current ceiling and opt-in. Requires a registered runner for this member with a supported session access or owner-choice capability.

put/v1/session-runners/sessions

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    HTTP bearer

Request body

object required
access, 'off' | 'created' | 'all' required
chosen, boolean
sessions, object[] required

Response

The report was stored.

object required
ok, true required
updatedAt, integer required
sessionAccess, object required

Changes

    • warning

      added the new off enum value to the sessionAccess/ceiling response property for the response status

    • info

      added the new optional request property chosen

    • info

      added the new off enum value to the request property access

    1 more change in this revision