/  Yamcs HTTP API  /  Sdls  /  Set Key

Set KeyΒΆ

Set the key

URI Template

PUT /api/sdls/{instance}/{linkName}/{spi}/key
{instance}

The Yamcs instance

{linkName}

The name of the encrypted link

{spi}

The Security Parameter Index

Request Body

interface HttpBody {

  // The Content-Type header value for this body.
  // If unspecified, defaults to application/octet-stream
  contentType: string;

  // If set, a Content-Disposition header is added
  // to the response. Weg agents use this to trigger
  // a download.
  filename: string;

  // The body as raw binary
  data: string;  // Base64

  // Any other metadata (used in multipart/form)
  metadata: {[key: string]: string};
}