Docs / Yamcs HTTP API / Services / List Services

List Services

List global services:

GET /api/services/_global

List all services for the given Yamcs instance:

GET /api/services/:instance 

Response

Status: 200 OK
{
  "service" : [ {
    "instance" : "simulator",
    "name" : "org.yamcs.tctm.DataLinkInitialiser",
    "state" : "RUNNING"
  }, {
    "instance" : "simulator",
    "name" : "org.yamcs.archive.XtceTmRecorder",
    "state" : "RUNNING"
  }, {
    "instance" : "simulator",
    "name" : "org.yamcs.archive.FSEventDecoder",
    "state" : "RUNNING"
  }, {
    "instance" : "simulator",
    "name" : "org.yamcs.archive.PpRecorder",
    "state" : "RUNNING"
  }
  ...
  ]
}

Alternative Media Types

Protobuf

Use HTTP header:

Accept: application/protobuf

Response is of type:

rest/rest.proto 
message ListServiceInfoResponse {
  repeated yamcsManagement.ServiceInfo service = 1;
}