Import kitsu entity links

POST /import/kitsu/entity-links

Import Kitsu entity links (casting links). Send a list of Kitsu entity link entries in the JSON body. Returns created or updated entity links.

application/json

Body Required

  • id string(uuid)

    Kitsu ID of the entity link

  • entity_in_id string(uuid)

    Source entity ID

  • entity_out_id string(uuid)

    Target entity ID

Responses

  • 200 application/json

    Entity links imported successfully

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

      Entity link unique identifier

    • entity_in_id string(uuid)

      Source entity ID

    • entity_out_id string(uuid)

      Target entity ID

    • 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/entity-links
curl \
 --request POST 'http://api.example.com/import/kitsu/entity-links' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '[{"id":"a24a6ea4-ce75-4665-a070-57453082c25","entity_in_id":"b24a6ea4-ce75-4665-a070-57453082c25","entity_out_id":"c24a6ea4-ce75-4665-a070-57453082c25"}]'
Request example
[
  {
    "id": "a24a6ea4-ce75-4665-a070-57453082c25",
    "entity_in_id": "b24a6ea4-ce75-4665-a070-57453082c25",
    "entity_out_id": "c24a6ea4-ce75-4665-a070-57453082c25"
  }
]
Response examples (200)
[
  {
    "id": "a24a6ea4-ce75-4665-a070-57453082c25",
    "entity_in_id": "b24a6ea4-ce75-4665-a070-57453082c25",
    "entity_out_id": "c24a6ea4-ce75-4665-a070-57453082c25",
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-15T11:00:00Z"
  }
]