tested for standardizing media call
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
@@ -17,63 +17,161 @@ 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
|
||||||
){
|
) {
|
||||||
mediaId
|
id
|
||||||
progress
|
mediaId
|
||||||
status
|
userId
|
||||||
score
|
media {
|
||||||
repeat
|
id
|
||||||
notes
|
idMal
|
||||||
startedAt{
|
title {
|
||||||
year
|
userPreferred
|
||||||
month
|
romaji
|
||||||
day
|
english
|
||||||
}
|
native
|
||||||
completedAt{
|
}
|
||||||
year
|
description
|
||||||
month
|
coverImage {
|
||||||
day
|
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
|
||||||
|
startedAt {
|
||||||
|
year
|
||||||
|
month
|
||||||
|
day
|
||||||
|
}
|
||||||
|
completedAt {
|
||||||
|
year
|
||||||
|
month
|
||||||
|
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": {
|
||||||
"year":2024,
|
"year": 2024,
|
||||||
"month":7,
|
"month": 7,
|
||||||
"day":10
|
"day": 10
|
||||||
},
|
},
|
||||||
"completedAt":{
|
"completedAt": {
|
||||||
"year": 0,
|
"year": 0,
|
||||||
"month":0,
|
"month": 0,
|
||||||
"day":0
|
"day": 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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 {
|
||||||
id
|
nodes {
|
||||||
status
|
id
|
||||||
}
|
airingAt
|
||||||
studios(isMain: true) {
|
timeUntilAiring
|
||||||
edges {
|
episode
|
||||||
isMain
|
mediaId
|
||||||
node {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
genres
|
||||||
|
tags {
|
||||||
|
id
|
||||||
|
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"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user