/  Yamcs HTTP API  /  Timeline  /  Subscribe Item Changes

Subscribe Item ChangesΒΆ

Receive item change notifications

When any item has changed (create-update-delete), an empty notification message is sent. Messages are bundled over a 5 second interval.

WebSocket

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

Use the message type timeline-item-changes.

Input Type

interface SubscribeItemChangesRequest {

  // Yamcs instance name
  instance: string;
}

Output Type

// A generic empty message that you can re-use to avoid defining duplicated
// empty messages in your APIs. A typical example is to use it as the request
// or the response type of an API method. For instance:
//
//     service Foo {
//       rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
//     }
//
// The JSON representation for `Empty` is empty JSON object `{}`.
interface Empty {
}