Set main preview from several tasks

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
PUT /actions/tasks/set-main-preview

For each task in the id list, set its last preview as the main preview of the related entity. Useful to set thumbnails for a selection in one request. Tasks without a preview are skipped. Returns the updated entities.

application/json

Body Required

  • task_ids array[string(uuid)] Required

Responses

  • 200 application/json

    Entities whose main preview was updated

PUT /actions/tasks/set-main-preview
curl \
 --request PUT 'http://api.example.com/actions/tasks/set-main-preview' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"task_ids":["string"]}'
Request examples
{
  "task_ids": [
    "string"
  ]
}
Response examples (200)
[
  {}
]