Download an attachment of a shared comment

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}/attachment-files/{attachment_file_id}/file/{file_name}

Download a file attached to a comment that the link shows: a comment for the clients or a comment of a guest. You do not need an account. The token of the link is the credential. If the link has a password, give it in the password query parameter.

Path parameters

  • token string Required

    Token of the share link

  • attachment_file_id string(uuid) Required

    Unique identifier of the attachment

  • file_name string Required

    Any value. The route ignores it. The response uses the name stored on the attachment.

Query parameters

  • password string

    Password when the link is protected

Responses

  • 200

    The file

  • 404

    The link is not valid, has expired, or the password is missing or wrong, or the attachment is not shown by this link

GET /shared/playlists/{token}/attachment-files/{attachment_file_id}/file/{file_name}
curl \
 --request GET '/api/shared/playlists/{token}/attachment-files/{attachment_file_id}/file/{file_name}'