rearranged bruno files to add simkl and more in future
This commit is contained in:
@ -0,0 +1,48 @@
|
||||
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"
|
||||
}
|
||||
}
|
33
bruno/AniTrack/AniList/Set Items/AniList Change Status.bru
Normal file
33
bruno/AniTrack/AniList/Set Items/AniList Change Status.bru
Normal file
@ -0,0 +1,33 @@
|
||||
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"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user