mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-11 01:34:06 +02:00
feat: new resources enums (#95)
This commit is contained in:
@@ -17,7 +17,7 @@ For example, the Bakemonogatari anime has MyAnimeList, AniList and AniDB resourc
|
||||
| id | Integer | No | Yes | The primary key of the resource |
|
||||
| link | String | Yes | Yes | The URL of the external site |
|
||||
| external_id | Integer | Yes | Yes | The primary key of the resource in the external site |
|
||||
| site | Enum | Yes | Yes | The external site that the resource belongs to [Official Website, Twitter, AniDB, Anilist, Anime-Planet, Anime News Network, Kitsu, MyAnimeList, Wikipedia, Spotify, YouTube Music, YouTube, Apple Music, Amazon Music ] |
|
||||
| site | Enum | Yes | Yes | The external site that the resource belongs to [Official Website, Twitter, AniDB, Anilist, Anime-Planet, Anime News Network, Kitsu, MyAnimeList, Wikipedia, Spotify, YouTube Music, YouTube, Apple Music, Amazon Music, Crunchyroll, HIDIVE, Netflix, Disney Plus, Hulu, Amazon Prime Video] |
|
||||
| created_at | Date | No | No | The date that the resource was created |
|
||||
| updated_at | Date | No | No | The date that the resource was last modified |
|
||||
| deleted_at | Date | Yes | No | The date that the resource was deleted |
|
||||
|
||||
@@ -26,7 +26,7 @@ POST /resource
|
||||
| :---------: | :------: | :--------------------------------------------------------------------------------------------------------------------- |
|
||||
| link | Yes | max:192, url, link matches site |
|
||||
| external_id | No | integer, min:0 |
|
||||
| site | Yes | EnumValue [Official Website, Twitter, AniDB, Anilist, Anime-Planet, Anime News Network, Kitsu, MyAnimeList, Wikipedia, Spotify, YouTube Music, YouTube, Apple Music, Amazon Music ] |
|
||||
| site | Yes | EnumValue [Official Website, Twitter, AniDB, Anilist, Anime-Planet, Anime News Network, Kitsu, MyAnimeList, Wikipedia, Spotify, YouTube Music, YouTube, Apple Music, Amazon Music, Crunchyroll, HIDIVE, Netflix, Disney Plus, Hulu, Amazon Prime Video] |
|
||||
|
||||
## Response
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ PUT|PATCH /resource/{id}
|
||||
| :---------: | :------: | :--------------------------------------------------------------------------------------------------------------------- |
|
||||
| link | No | max:192, url, link matches site |
|
||||
| external_id | No | integer, min:0 |
|
||||
| site | No | EnumValue [Official Website, Twitter, AniDB, Anilist, Anime-Planet, Anime News Network, Kitsu, MyAnimeList, Wikipedia, Spotify, YouTube Music, YouTube, Apple Music, Amazon Music ] |
|
||||
| site | No | EnumValue [Official Website, Twitter, AniDB, Anilist, Anime-Planet, Anime News Network, Kitsu, MyAnimeList, Wikipedia, Spotify, YouTube Music, YouTube, Apple Music, Amazon Music, Crunchyroll, HIDIVE, Netflix, Disney Plus, Hulu, Amazon Prime Video] |
|
||||
|
||||
## Response
|
||||
|
||||
|
||||
Reference in New Issue
Block a user