Docs / Yamcs HTTP API / Mission Database / Get MDB Detail

Get MDB Detail

Get data on a the Mission Database for the given Yamcs instance:

GET /api/mdb/:instance

Response

Status: 200 OK
{
  "configName" : "landing",
  "name" : "",
  "spaceSystem" : [ {
    "name" : "YSS",
    "qualifiedName" : "/YSS",
    "version" : "1.2",
    "parameterCount" : 3,
    "containerCount" : 1,
    "commandCount" : 1,
    "sub" : [ {
      "name" : "SIMULATOR",
      "qualifiedName" : "/YSS/SIMULATOR",
      "version" : "1.0",
      "parameterCount" : 59,
      "containerCount" : 9,
      "commandCount" : 8,
      "history" : [ {
        "version" : "1.3",
        "date" : "21-June-2020",
        "message" : "modified this and that"
      } ]
    } ]
}

Alternative Media Types

Java-serialized XtceDb

Use HTTP header:

Accept: application/x-java-serialized-object

This returns a full java-serialized binary dump of the XtceDb. You will need a dependency on the LGPL yamcs-api jar if you want to interpret it.

Protobuf

Use HTTP header:

Accept: application/protobuf

Response is of type:

yamcsManagement/yamcsManagement.proto 
message MissionDatabase {
  required string configName = 1;
  required string name = 2;
  optional string version = 3;
  repeated SpaceSystemInfo spaceSystem = 4;
}