Docs / Yamcs HTTP API / Commanding / Edit Queued Command

Edit Queued Command

Edit a command queue entry:

PATCH /api/processors/:instance/:processor/cqueues/:cqueue/entries/:uuid

Parameters

Name Type Description
state string The state of the entry. Either released or rejected.

The same parameters can also be specified in the request body. In case both query string parameters and body parameters are specified, they are merged with priority being given to query string parameters.

Example

Release an entry:

{
  "state" : "released"
}

Alternative Media Types

Protobuf

Use these HTTP headers:

Content-Type: application/protobuf
Accept: application/protobuf

Request is of type:

rest/rest.proto 
message EditCommandQueueEntryRequest {
  optional string state = 1;
}