Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
2 changed files with 184 additions and 0 deletions
Showing only changes of commit 9140ebaa19 - Show all commits

View File

@ -0,0 +1,120 @@
query ($slug: String) {
anime(slug: $slug) {
nodes {
ageRating
ageRatingGuide
bannerImage {
original {
height
name
url
width
}
views {
height
name
url
width
}
}
characters {
nodes {
character {
names {
canonical
alternatives
}
slug
}
role
voices {
nodes {
id
licensor {
id
name
}
locale
person {
id
names {
alternatives
canonical
localized
}
}
}
}
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
}
endDate
episodeCount
episodeLength
posterImage {
original {
height
name
url
width
}
views {
height
name
url
width
}
}
season
sfw
slug
staff {
nodes {
person {
id
birthday
image {
original {
height
name
url
width
}
views {
height
name
url
width
}
}
names {
alternatives
canonical
localized
}
}
role
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
}
status
synopsis
titles {
alternatives
canonical
localized
}
totalLength
}
}
}

View File

@ -0,0 +1,64 @@
# Requires authentication to select associated user
query {
session {
account {
email
id
proSubscription {
billingService
tier
}
}
profile {
about
avatarImage {
original {
name
url
width
height
}
}
bannerImage {
original {
name
url
width
height
}
}
id
name
proMessage
proTier
slug
url
waifu {
id
image {
original {
name
url
width
height
}
}
names {
canonical
alternatives
localized
}
primaryMedia {
slug
titles {
canonical
alternatives
localized
}
}
slug
}
waifuOrHusbando
}
}
}