Docs / Yamcs HTTP API / Commanding / List Command Queues

List Command Queues

List all command queues for the given processor:

GET /api/processors/:instance/:processor/cqueues

Response

Status: 200 OK
{
  "queue" : [ {
    "instance" : "simulator",
    "processorName" : "realtime",
    "name" : "default",
    "state" : "ENABLED",
    "nbSentCommands" : 0,
    "nbRejectedCommands" : 0
  } ]
}

Alternative Media Types

Protobuf

Use HTTP header:

Accept: application/protobuf

Response is of type:

rest/rest.proto 
message ListCommandQueuesResponse {
  repeated commanding.CommandQueueInfo queue = 1;
}