added rest anilist set items
This commit is contained in:
76
rest/AniTrack/Set Items/AniList Change Episode Watched.http
Normal file
76
rest/AniTrack/Set Items/AniList Change Episode Watched.http
Normal file
@ -0,0 +1,76 @@
|
||||
# @name AniList Change Episode Watched
|
||||
|
||||
POST https://graphql.anilist.co
|
||||
Content-Type: applicaton/json
|
||||
Accept: applicaton/json
|
||||
X-REQUEST-TYPE: Graphql
|
||||
Authorization: Bearer {{ANILIST_ACCESS_TOKEN}}
|
||||
|
||||
mutation($mediaId:Int, $progress:Int, $status:MediaListStatus){
|
||||
SaveMediaListEntry(mediaId:$mediaId, progress:$progress, status:$status){
|
||||
id
|
||||
mediaId
|
||||
userId
|
||||
media {
|
||||
id
|
||||
idMal
|
||||
title {
|
||||
romaji
|
||||
english
|
||||
native
|
||||
}
|
||||
description
|
||||
coverImage {
|
||||
large
|
||||
}
|
||||
season
|
||||
seasonYear
|
||||
status
|
||||
episodes
|
||||
nextAiringEpisode {
|
||||
airingAt
|
||||
timeUntilAiring
|
||||
episode
|
||||
}
|
||||
isAdult
|
||||
}
|
||||
status
|
||||
startedAt{
|
||||
year
|
||||
month
|
||||
day
|
||||
}
|
||||
completedAt{
|
||||
year
|
||||
month
|
||||
day
|
||||
}
|
||||
notes
|
||||
progress
|
||||
score
|
||||
repeat
|
||||
user {
|
||||
id
|
||||
name
|
||||
avatar{
|
||||
large
|
||||
medium
|
||||
}
|
||||
statistics{
|
||||
anime{
|
||||
count
|
||||
statuses{
|
||||
status
|
||||
count
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
"mediaId": 169417,
|
||||
"progress": 12,
|
||||
"status":"COMPLETED"
|
||||
}
|
Reference in New Issue
Block a user