anitrack/bruno/AniTrack/AniList/Set Items/AniList Change Episode Watched.bru

91 lines
1.4 KiB
Plaintext
Raw Normal View History

2024-07-25 09:10:55 -04:00
meta {
name: AniList Change Episode Watched
type: graphql
seq: 1
}
post {
url: https://graphql.anilist.co
body: graphql
auth: none
}
headers {
Authorization: Bearer {{process.env.ANILIST_ACCESS_TOKEN}}
Content-Type: "application/json"
Accept: "application/json"
}
body:graphql {
mutation($mediaId:Int, $progress:Int, $status:MediaListStatus){
SaveMediaListEntry(mediaId:$mediaId, progress:$progress, status:$status){
id
2024-07-25 09:10:55 -04:00
mediaId
userId
media {
id
idMal
title {
romaji
english
native
}
description
coverImage {
large
}
season
seasonYear
status
episodes
nextAiringEpisode {
airingAt
timeUntilAiring
episode
}
isAdult
}
2024-07-25 09:10:55 -04:00
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
}
}
}
}
2024-07-25 09:10:55 -04:00
}
}
}
body:graphql:vars {
{
"mediaId": 169417,
"progress": 12,
2024-07-25 09:10:55 -04:00
"status":"COMPLETED"
}
}