Attach files to a guest 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
POST /shared/playlists/{token}/comments/{comment_id}/attachments

Attach files to a comment. Only the guest who wrote the comment can attach files. Send the files in a multipart form. The route attaches every file of the form, whatever the name of its field. Give guest_id in the form or in the query string. 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

  • comment_id string(uuid) Required

    Unique identifier of the comment

Query parameters

  • guest_id string(uuid)

    Same as the form field

  • password string

    Password when the link is protected

multipart/form-data

Body Required

  • guest_id string(uuid)

    Identifier of the guest who wrote the comment

  • files array[string(binary)]

    Files to attach

Responses

  • 201

    The comment with its attachments

  • 403

    Comments are disabled for this link, guest_id is missing, the guest is not a guest of this link, another guest wrote the comment, or the comment is not on a task of the shared playlist

  • 404

    The link is not valid, has expired, or the password is missing or wrong, or the comment does not exist

POST /shared/playlists/{token}/comments/{comment_id}/attachments
curl \
 --request POST '/api/shared/playlists/{token}/comments/{comment_id}/attachments' \
 --header "Content-Type: multipart/form-data" \
 --form "guest_id=string" \
 --form "files[]=@file"