Reconnect the app's command channel after sleep; list clients from it
This commit is contained in:
+5
-4
@@ -1787,17 +1787,18 @@ components:
|
||||
sse_clients: { type: integer }
|
||||
clients:
|
||||
type: array
|
||||
description: Each distinct user, Mac and app build with an open event stream, oldest connection first.
|
||||
description: Each running app that holds its /api/clients/connect WebSocket, oldest connection first.
|
||||
items: { $ref: "#/components/schemas/ConnectedClient" }
|
||||
|
||||
ConnectedClient:
|
||||
type: object
|
||||
required: [login, host, commit, connected_at]
|
||||
required: [id, login, host, commit, connected_at]
|
||||
properties:
|
||||
id: { type: string, description: The ID the app made up when it started, from its Byre-Client header. }
|
||||
login: { type: string }
|
||||
host: { type: string, description: The Mac's name from its Byre-Host header; empty when the client sent none. }
|
||||
host: { type: string, description: The Mac's name from its Byre-Host header. }
|
||||
commit: { type: string, description: The git commit the app was built from, from its Byre-Commit header; empty when the client sent none. }
|
||||
connected_at: { type: string, format: date-time, description: When the client's oldest open stream connected. }
|
||||
connected_at: { type: string, format: date-time, description: When the client's WebSocket connected. }
|
||||
last_action_at: { type: string, format: date-time, description: When byre last received a request the human made from this client since byre started; absent when none. }
|
||||
|
||||
ClientRequest:
|
||||
|
||||
Reference in New Issue
Block a user