49 lines
762 B
Plaintext
49 lines
762 B
Plaintext
|
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){
|
||
|
mediaId
|
||
|
progress
|
||
|
status
|
||
|
score
|
||
|
repeat
|
||
|
notes
|
||
|
startedAt{
|
||
|
year
|
||
|
month
|
||
|
day
|
||
|
}
|
||
|
completedAt{
|
||
|
year
|
||
|
month
|
||
|
day
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
body:graphql:vars {
|
||
|
{
|
||
|
"mediaId": 1,
|
||
|
"progress": 26,
|
||
|
"status":"COMPLETED"
|
||
|
}
|
||
|
}
|