Import kitsu comments

POST /import/kitsu/comments

Import Kitsu comments. Send a list of Kitsu comment entries in the JSON body. Returns created or updated comments linked to tasks.

application/json

Body Required

  • id string(uuid)

    Kitsu ID of the comment

  • object_id string(uuid)

    Task ID the comment is linked to

  • text string

    Comment text

  • person_id string(uuid)

    Person who created the comment

Responses

  • 200 application/json

    Comments imported successfully

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

      Comment unique identifier

    • text string

      Comment text

    • created_at string(date-time)

      Creation timestamp

    • updated_at string(date-time)

      Update timestamp

  • 400

    Invalid request body or missing required fields

POST /import/kitsu/comments
curl \
 --request POST 'http://api.example.com/import/kitsu/comments' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '[{"id":"a24a6ea4-ce75-4665-a070-57453082c25","text":"This is a comment","object_id":"b24a6ea4-ce75-4665-a070-57453082c25","person_id":"c24a6ea4-ce75-4665-a070-57453082c25"}]'
Request example
[
  {
    "id": "a24a6ea4-ce75-4665-a070-57453082c25",
    "text": "This is a comment",
    "object_id": "b24a6ea4-ce75-4665-a070-57453082c25",
    "person_id": "c24a6ea4-ce75-4665-a070-57453082c25"
  }
]
Response examples (200)
[
  {
    "id": "a24a6ea4-ce75-4665-a070-57453082c25",
    "text": "This is a comment",
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-15T11:00:00Z"
  }
]