Skip to content

Depot presence

This page is generated from the Depot route table. Every operation carries the permission it needs and the anchor an agent can link to.

GETendpoint:readshared facehosteditmspremoteIdempotentWebSocket

From an MSP console, prefix the path with /api/v1/clients/{clientID} to reach one client.

Source: [object Object]

Presence stream

StatusBodyDescription
101NoneSwitching protocols. The connection continues as a websocket; see x-outpost-transport.
401application/problem+json, ProblemDetailsNo signed-in identity.
403application/problem+json, ProblemDetailsNo accessible clients.
500application/problem+json, ProblemDetailsCould not read clients.
503application/problem+json, ProblemDetailsEndpoint presence is unavailable.
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
# This endpoint upgrades to a WebSocket. The sample shows the handshake only.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X GET 'https://depot.example.com/api/v1/console/presence' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

Content is licensed CC BY 4.0. Code samples are MIT. Outpost and the Outpost mark are trademarks of Outpost Business Solutions, PBC and are not covered by either license.