added ability to delete entries. Added MAL RefreshToken Function

This commit is contained in:
John O'Keefe 2024-09-18 14:06:11 -04:00
parent 00930f611e
commit c7694900e3
2 changed files with 60 additions and 0 deletions

View 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
}
}

View 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
}
}
]
}
}