tested for standardizing media call

This commit is contained in:
2026-07-22 15:22:38 -04:00
parent 0384f570c5
commit d3bc93f6c9
3 changed files with 260 additions and 76 deletions
@@ -16,7 +16,6 @@ headers {
} }
body:graphql { body:graphql {
# Write your query or mutation here
query ( query (
$page: Int $page: Int
$perPage: Int $perPage: Int
@@ -41,23 +40,79 @@ body:graphql {
id id
idMal idMal
title { title {
userPreferred
romaji romaji
english english
native native
} }
description description
coverImage { coverImage {
extraLarge
large large
medium
color
} }
bannerImage
format
season season
seasonYear seasonYear
status status
episodes episodes
duration
countryOfOrigin
source
synonyms
averageScore
meanScore
popularity
trending
favourites
isFavourite
relations {
nodes {
id
title {
userPreferred
romaji
english
native
}
}
}
startDate {
year
month
day
}
endDate {
year
month
day
}
nextAiringEpisode { nextAiringEpisode {
airingAt airingAt
timeUntilAiring timeUntilAiring
episode episode
} }
airingSchedule {
nodes {
id
airingAt
timeUntilAiring
episode
mediaId
}
}
genres
tags {
id
name
description
rank
isMediaSpoiler
isAdult
}
isAdult
} }
status status
startedAt { startedAt {
@@ -18,31 +18,107 @@ headers {
body:graphql { body:graphql {
mutation ( mutation (
$mediaId:Int, $mediaId: Int
$progress:Int, $progress: Int
$status:MediaListStatus, $status: MediaListStatus
$score:Float, $score: Float
$repeat:Int, $repeat: Int
$notes:String, $notes: String
$startedAt:FuzzyDateInput, $startedAt: FuzzyDateInput
$completedAt:FuzzyDateInput, $completedAt: FuzzyDateInput
) { ) {
SaveMediaListEntry( SaveMediaListEntry(
mediaId:$mediaId, mediaId: $mediaId
progress:$progress, progress: $progress
status:$status, status: $status
score:$score, score: $score
repeat:$repeat, repeat: $repeat
notes:$notes, notes: $notes
startedAt: $startedAt startedAt: $startedAt
completedAt: $completedAt completedAt: $completedAt
) { ) {
id
mediaId mediaId
progress userId
media {
id
idMal
title {
userPreferred
romaji
english
native
}
description
coverImage {
extraLarge
large
medium
color
}
bannerImage
format
season
seasonYear
status
episodes
duration
countryOfOrigin
source
synonyms
averageScore
meanScore
popularity
trending
favourites
isFavourite
relations {
nodes {
id
title {
userPreferred
romaji
english
native
}
}
}
startDate {
year
month
day
}
endDate {
year
month
day
}
nextAiringEpisode {
airingAt
timeUntilAiring
episode
}
airingSchedule {
nodes {
id
airingAt
timeUntilAiring
episode
mediaId
}
}
genres
tags {
id
name
description
rank
isMediaSpoiler
isAdult
}
isAdult
}
status status
score
repeat
notes
startedAt { startedAt {
year year
month month
@@ -53,16 +129,38 @@ body:graphql {
month month
day day
} }
notes
progress
score
repeat
user {
id
name
avatar {
large
medium
}
statistics {
anime {
count
statuses {
status
count
} }
} }
} }
}
}
}
}
body:graphql:vars { body:graphql:vars {
{ {
"mediaId": 170998, "mediaId": 170998,
"progress": 5, "progress": 5,
"status": "CURRENT", "status": "CURRENT",
"score":9.0, "score": 9,
"repeat": 0, "repeat": 0,
"notes": ",malSync::eyJ1IjoiaHR0cHM6Ly93d3cuY3J1bmNoeXJvbGwuY29tL3Nlcmllcy9HVkRIWDg1Wk4vI3NlYXNvbj1HNjNWQzJHUUsiLCJwIjoiIn0=::", "notes": ",malSync::eyJ1IjoiaHR0cHM6Ly93d3cuY3J1bmNoeXJvbGwuY29tL3Nlcmllcy9HVkRIWDg1Wk4vI3NlYXNvbj1HNjNWQzJHUUsiLCJwIjoiIn0=::",
"startedAt": { "startedAt": {
@@ -86,12 +86,18 @@ body:graphql {
isAdult: $isAdult isAdult: $isAdult
) { ) {
id id
idMal
title { title {
userPreferred userPreferred
romaji
english
native
} }
description
coverImage { coverImage {
extraLarge extraLarge
large large
medium
color color
} }
startDate { startDate {
@@ -105,41 +111,60 @@ body:graphql {
day day
} }
bannerImage bannerImage
format
season season
seasonYear seasonYear
description status
type
format
status(version: 2)
episodes episodes
duration duration
chapters countryOfOrigin
volumes source
genres synonyms
isAdult
averageScore averageScore
meanScore
popularity popularity
trending
favourites
isFavourite
relations {
nodes {
id
title {
userPreferred
romaji
english
native
}
}
}
nextAiringEpisode { nextAiringEpisode {
airingAt airingAt
timeUntilAiring timeUntilAiring
episode episode
} }
mediaListEntry { airingSchedule {
nodes {
id id
status airingAt
timeUntilAiring
episode
mediaId
} }
studios(isMain: true) { }
edges { genres
isMain tags {
node {
id id
name name
description
rank
isMediaSpoiler
isAdult
}
isAdult
} }
} }
} }
}
}
}
} }
body:graphql:vars { body:graphql:vars {
@@ -149,8 +174,14 @@ body:graphql:vars {
"season": "SUMMER", "season": "SUMMER",
"seasonYear": 2026, "seasonYear": 2026,
"type": "ANIME", "type": "ANIME",
"excludedTags": ["Ecchi", "LGBTQ+ Themes", "Yuri"], "excludedTags": [
"excludedGenres": ["Boy's Love"] "Ecchi",
"LGBTQ+ Themes",
"Yuri"
],
"excludedGenres": [
"Boy's Love"
]
} }
} }