Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
titleAuxiliary REST Methods
Set

Get Streaming Cookies (Available in DuraCloud 5.0.0+)

  • Purpose: To be used in conjunction with secure HLS streaming in order to allow for setting access cookies on the user's browser. This endpoint is not called directly but is accessed by using the streaming distribution domain as a proxy, thus allowing cookies associated with that domain to be set. The response headers set the cookies. The body of the response is an HTML document which redirects the user. Expected to be used in combination with the get-signed-cookies-url S3 Task.
  • Request: GET https://host:port/durastore/aux/cookies ? (token)
    • token - Token generated when cookie data is stored
  • Response Code: 200 (on success), 404 if the specified token does not exisst

  • Response Headers: 3 Set-Cookie headers (CloudFront-Policy, CloudFront-Signature, CloudFront-Key-Pair-Id)

...