66 lines
1.1 KiB
Plaintext
66 lines
1.1 KiB
Plaintext
|
# @name AniList Change Count
|
||
|
|
||
|
POST https://graphql.anilist.co
|
||
|
Content-Type: applicaton/json
|
||
|
Accept: applicaton/json
|
||
|
X-REQUEST-TYPE: Graphql
|
||
|
Authorization: Bearer {{ANILIST_ACCESS_TOKEN}}
|
||
|
|
||
|
mutation (
|
||
|
$mediaId: Int
|
||
|
$progress: Int
|
||
|
$status: MediaListStatus
|
||
|
$score: Float
|
||
|
$repeat: Int
|
||
|
$notes: String
|
||
|
$startedAt: FuzzyDateInput
|
||
|
$completedAt: FuzzyDateInput
|
||
|
) {
|
||
|
SaveMediaListEntry(
|
||
|
mediaId: $mediaId
|
||
|
progress: $progress
|
||
|
status: $status
|
||
|
score: $score
|
||
|
repeat: $repeat
|
||
|
notes: $notes
|
||
|
startedAt: $startedAt
|
||
|
completedAt: $completedAt
|
||
|
) {
|
||
|
mediaId
|
||
|
progress
|
||
|
status
|
||
|
score
|
||
|
repeat
|
||
|
notes
|
||
|
startedAt {
|
||
|
year
|
||
|
month
|
||
|
day
|
||
|
}
|
||
|
completedAt {
|
||
|
year
|
||
|
month
|
||
|
day
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
{
|
||
|
"mediaId": 170998,
|
||
|
"progress": 5,
|
||
|
"status": "CURRENT",
|
||
|
"score": 9.0,
|
||
|
"repeat": 0,
|
||
|
"notes": ",malSync::eyJ1IjoiaHR0cHM6Ly93d3cuY3J1bmNoeXJvbGwuY29tL3Nlcmllcy9HVkRIWDg1Wk4vI3NlYXNvbj1HNjNWQzJHUUsiLCJwIjoiIn0=::",
|
||
|
"startedAt": {
|
||
|
"year": 2024,
|
||
|
"month": 7,
|
||
|
"day": 10
|
||
|
},
|
||
|
"completedAt": {
|
||
|
"year": 0,
|
||
|
"month": 0,
|
||
|
"day": 0
|
||
|
}
|
||
|
}
|