/  Yamcs HTTP API  /  Activities  /  Subscribe Global Status

Subscribe Global StatusΒΆ

Receive activity status updates

WebSocket

This method requires to upgrade an HTTP connection to WebSocket. See details on how Yamcs uses WebSocket.

Use the message type global-activity-status.

Input Type

interface SubscribeGlobalStatusRequest {

  // Yamcs instance name
  instance: string;
}

Output Type

interface GlobalActivityStatus {

  // The number of ongoing activities
  ongoingCount: number;
}