HummingBirdAnimeClient/src/AnimeClient/API/Kitsu/Queries/AnimeDetails.graphql

127 lines
1.5 KiB
JavaScript
Raw Normal View History

query ($slug: String!) {
2020-07-28 16:11:13 -04:00
findAnimeBySlug(slug: $slug) {
id
2020-07-28 16:11:13 -04:00
ageRating
ageRatingGuide
posterImage {
2020-07-28 16:11:13 -04:00
original {
height
name
url
width
}
2020-07-28 16:11:13 -04:00
views {
height
name
url
width
}
}
2020-09-09 10:23:17 -04:00
categories(first: 100) {
nodes {
title
}
}
2020-09-09 10:23:17 -04:00
characters(first: 100) {
2020-07-28 16:11:13 -04:00
nodes {
character {
id
2020-07-28 16:11:13 -04:00
names {
alternatives
canonical
localized
}
image {
original {
height
name
url
width
}
}
2020-07-28 16:11:13 -04:00
slug
}
role
}
2020-07-28 16:11:13 -04:00
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
2020-07-28 16:11:13 -04:00
}
2020-08-17 11:36:01 -04:00
description
startDate
2020-07-28 16:11:13 -04:00
endDate
episodeCount
episodeLength
2020-07-29 14:04:03 -04:00
totalLength
2020-07-28 16:11:13 -04:00
season
sfw
slug
2020-09-09 10:23:17 -04:00
mappings(first: 10) {
2020-08-24 13:09:43 -04:00
nodes {
externalId
externalSite
}
}
2020-09-09 10:23:17 -04:00
staff(first: 100) {
2020-07-28 16:11:13 -04:00
nodes {
person {
id
birthday
image {
original {
height
name
url
width
}
2020-07-28 16:11:13 -04:00
views {
height
name
url
width
}
}
2020-07-28 16:11:13 -04:00
names {
alternatives
canonical
localized
}
slug
}
2020-07-28 16:11:13 -04:00
role
}
2020-07-28 16:11:13 -04:00
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
}
2020-07-28 16:11:13 -04:00
status
2020-09-09 10:23:17 -04:00
streamingLinks(first: 10) {
nodes {
dubs
subs
regions
streamer {
id
siteName
}
url
}
}
subtype
2020-07-28 16:11:13 -04:00
titles {
alternatives
2020-07-28 16:11:13 -04:00
canonical
canonicalLocale
2020-07-28 16:11:13 -04:00
localized
}
totalLength
youtubeTrailerVideoId
}
}