Get shared original picture preview for any extension

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://api-docs.kitsu.cloud/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Kitsu API MCP server": {
    "url": "https://api-docs.kitsu.cloud/mcp"
  }
}

Close
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"
}