anitrack/bruno/AniTrack/AniList/Set Items/AniList Change Status.bru

34 lines
507 B
Plaintext
Raw Normal View History

2024-07-25 09:10:55 -04:00
meta {
name: AniList Change Status
type: graphql
seq: 2
}
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, $status:MediaListStatus){
SaveMediaListEntry(mediaId:$mediaId, status:$status){
id
status
}
}
}
body:graphql:vars {
{
"mediaId": 1,
"status": "CURRENT"
}
}