Get shared original picture preview for any extension

GET /shared/playlists/{token}/pictures/originals/preview-files/{preview_file_id}.{extension}

Serve the original still preview for an arbitrary extension (gif, svg, jpg, pdf, ...), authorized by the share token. Mirrors the authenticated /pictures/originals/preview-files/<id>.<extension> route, which the .png-only shared route did not cover, so animated GIFs and other non-PNG originals 404'd through a share link.

Path parameters

  • token string Required

    Share link token

  • preview_file_id string(uuid) Required

    Preview file unique identifier

  • extension string Required

    File extension

Responses

  • 200 application/octet-stream

    Original picture file

  • 400

    Extension not allowed

  • 403

    Preview file is not part of this shared playlist

  • 404 application/json

    Original file missing

    Hide response attribute Show response attribute object
    • error string
GET /shared/playlists/{token}/pictures/originals/preview-files/{preview_file_id}.{extension}
curl \
 --request GET 'http://api.example.com/shared/playlists/{token}/pictures/originals/preview-files/{preview_file_id}.{extension}' \
 --header "Authorization: $API_KEY"
Response examples (404)
{
  "error": "string"
}