mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-11-13 09:39:52 +01:00
title
| title |
|---|
| Anime Image Store |
Anime Image Store Endpoint
The anime image store endpoint creates a new anime image and returns the new anime image resource.
For example, the /animeimage?anime_id=218&image_id=435 endpoint will create a new association between the Bakemonogatari anime and the large cover image of id 435.
URL
POST /animeimage
Authentication
Required Permission: create anime, create image
Roles with Permission: Wiki Editor, Admin
Parameters
| Name | Required | Rules |
|---|---|---|
| anime_id | Yes | integer, Anime ID exists |
| image_id | Yes | integer, Image ID exists |
Response
{
animeimage: {
created_at: "created_at",
updated_at: "updated_at"
}
}