Docs / Yamcs HTTP API / Tags / List Tags

List Tags

List all tags for the given instance:

GET /api/archive/:instance/tags

Example

Status: 200 OK
{
  "tag" : [ {
    "id" : 1,
    "name" : "My annotation",
    "start" : 1449128432000,
    "stop" : 1449174255000,
    "description" : "blabla",
    "color" : "#ffc800"
  } ]
}

Alternative Media Types

Protobuf

Use HTTP header:

Accept: application/protobuf

Response is of type:

rest/rest.proto 
message ListTagsResponse {
  repeated yamcs.ArchiveTag tag = 1;
}