/  Yamcs HTTP API  /  Packets  /  Get Packet

Get PacketΒΆ

Get a packet

URI Template

GET /api/archive/{instance}/packets/{pname}/{gentime}/{seqnum}
{instance}

Yamcs instance name.

{pname}

Stored packet name

{gentime}

An exact match of the packet's generation time in ISO 8601 format.

{seqnum}

Yamcs-specific archive distinguisher

Response Type

interface TmPacketData {

  // Raw packet binary
  packet: string;  // Base64

  // Storage discriminator in case of distinct packets
  // with the same name and generation time
  sequenceNumber: number;

  // Packet name
  id: NamedObjectId;

  // When the packet was generated
  generationTime: string;  // RFC 3339 timestamp

  // When the signal has been received on ground
  earthReceptionTime: string;  // RFC 3339 timestamp

  // When the packet was received by Yamcs
  receptionTime: string;  // RFC 3339 timestamp

  // Name of the Yamcs link where this packet was received from
  link: string;

  // Packet size in bytes
  size: number;
}

Related Types

// Used by external clients to identify an item in the Mission Database
// If namespace is set, then the name is that of an alias, rather than
// the qualified name.
interface NamedObjectId {
  name: string;
  namespace: string;
}