Use the last preview of tasks as the entity pictures

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 of the list, use its last preview as the picture of its entity. The tasks without preview are skipped. If a task does not exist or if you cannot change it, the route stops with an error. The entities changed before the error stay changed. Clients cannot use this route.

application/json

Body Required

  • task_ids array[string(uuid)] Required

Responses

  • 200 application/json

    The updated entities

  • 400

    The body is not valid

  • 403

    You do not have access to this project, or you are a client

  • 404

    A task does not exist

PUT /actions/tasks/set-main-preview
curl \
 --request PUT '/api/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)
[
  {}
]