/  Yamcs HTTP API  /  Server  /  Get Http Traffic

Get Http TrafficΒΆ

Get HTTP traffic

URI Template

GET /api/http-traffic

Response Type

interface HttpTraffic {
  readBytes: string;  // String decimal
  writtenBytes: string;  // String decimal
  readThroughput: string;  // String decimal
  writeThroughput: string;  // String decimal
  connections: ClientConnectionInfo[];
}

Related Types

interface ClientConnectionInfo {
  id: string;
  open: boolean;
  active: boolean;
  writable: boolean;
  remoteAddress: string;
  readBytes: string;  // String decimal
  writtenBytes: string;  // String decimal
  readThroughput: string;  // String decimal
  writeThroughput: string;  // String decimal
  httpRequest: HttpRequestInfo;
  username: string;
}

interface HttpRequestInfo {
  protocol: string;
  method: string;
  uri: string;
  keepAlive: boolean;
  userAgent: string;
}