mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-11 01:34:06 +02:00
784 B
784 B
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/bakemonogatari/435 endpoint will create a new association between the Bakemonogatari anime and the large cover image of id 435.
URL
POST /animeimage/{anime:slug}/{image:id}
Authentication
Required Permission: create anime, create image
Roles with Permission: Wiki Editor, Encoder, Admin
Parameters
None
Response
{
animeimage: {
created_at: "created_at",
updated_at: "updated_at"
}
}
Example
curl -X POST -H "Authorization: Bearer {token}" https://api.animethemes.moe/animeimage/bakemonogatari/435