added ability to delete entries. Added MAL RefreshToken Function
This commit is contained in:
parent
00930f611e
commit
c7694900e3
31
bruno/AniTrack/AniList/Set Items/Delete Media.bru
Normal file
31
bruno/AniTrack/AniList/Set Items/Delete Media.bru
Normal file
@ -0,0 +1,31 @@
|
||||
meta {
|
||||
name: Delete Media
|
||||
type: graphql
|
||||
seq: 4
|
||||
}
|
||||
|
||||
post {
|
||||
url: https://graphql.anilist.co
|
||||
body: graphql
|
||||
auth: none
|
||||
}
|
||||
|
||||
headers {
|
||||
Authorization: Bearer {{ANILIST_ACCESS_TOKEN}}
|
||||
Content-Type: application/json
|
||||
Accept: application/json
|
||||
}
|
||||
|
||||
body:graphql {
|
||||
mutation($id:Int){
|
||||
DeleteMediaListEntry(id:$id){
|
||||
deleted
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body:graphql:vars {
|
||||
{
|
||||
"id":430978266
|
||||
}
|
||||
}
|
29
bruno/AniTrack/Simkl/Post Items/Delete Entry.bru
Normal file
29
bruno/AniTrack/Simkl/Post Items/Delete Entry.bru
Normal file
@ -0,0 +1,29 @@
|
||||
meta {
|
||||
name: Delete Entry
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: https://api.simkl.com/sync/history/remove
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
headers {
|
||||
Authorization: Bearer {{SIMKL_AUTH_TOKEN}}
|
||||
Content-Type: application/json
|
||||
simkl-api-key: {{SIMKL_CLIENT_ID}}
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"shows": [
|
||||
{
|
||||
"ids": {
|
||||
"simkl": 909121
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user