Copy the last client comment of each given task

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 /actions/projects/{project_id}/tasks/copy-client-comments

Artists do not see the comments written by clients. For each given task of the project, copy the last comment written by a client of the project into a new comment of the current user, so the artists get it. The task keeps its status. A task without client comment, or out of the project, is skipped. Project managers only.

Path parameters

  • project_id Required

    Unique identifier of the project

application/json

Body Required

  • task_ids array[string(uuid)] Required

    Identifiers of the tasks

  • prefix string

    Text put before the client text, on its own line

Responses

  • 201 application/json

    Comments created, one by task with a client comment

    Hide response attributes Show response attributes object
    • id string(uuid)

      Comment unique identifier

    • object_id string(uuid)

      Task identifier

    • person_id string(uuid)

      Author identifier, the current user

    • text string

      Copied text, with its prefix

    • task_status_id string(uuid)

      Current status of the task

  • 400

    Malformed body

  • 403

    Current user is not a manager of the project

POST /actions/projects/{project_id}/tasks/copy-client-comments
curl \
 --request POST 'http://api.example.com/actions/projects/a24a6ea4-ce75-4665-a070-57453082c250/tasks/copy-client-comments' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{
  "task_ids": [
    "e68e02e8-0219-8009-e514-918974260690"
  ],
  "prefix": "Client feedback:"
}'
Request examples
{
  "task_ids": [
    "e68e02e8-0219-8009-e514-918974260690"
  ],
  "prefix": "Client feedback:"
}
Response examples (201)
[
  {
    "id": "b35b7fb5-df86-5776-b181-68564193d360",
    "object_id": "e68e02e8-0219-8009-e514-918974260690",
    "person_id": "d57d91d7-f108-7998-d403-80786315f580",
    "text": "Client feedback:\n\nThe light is too warm.",
    "task_status_id": "c46c80c6-e097-6887-c292-79675204e470"
  }
]