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

127 lines
1.6 KiB
JavaScript

query ($slug: String!) {
findAnimeBySlug(slug: $slug) {
id
ageRating
ageRatingGuide
posterImage {
original {
height
name
url
width
}
views {
height
name
url
width
}
}
categories(first: 100) {
nodes {
title(locales: "en")
}
}
characters(first: 100) {
nodes {
character {
id
names {
alternatives
canonical
localized(locales: "*")
}
image {
original {
height
name
url
width
}
}
slug
}
role
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
}
description(locales: "en")
startDate
endDate
episodeCount
episodeLength
totalLength
season
sfw
slug
mappings(first: 10) {
nodes {
externalId
externalSite
}
}
staff(first: 100) {
nodes {
person {
id
birthday
image {
original {
height
name
url
width
}
views {
height
name
url
width
}
}
names {
alternatives
canonical
localized(locales: "*")
}
slug
}
role
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
}
status
streamingLinks(first: 10) {
nodes {
dubs
subs
regions
streamer {
id
siteName
}
url
}
}
subtype
titles {
alternatives
canonical
canonicalLocale
localized(locales: ["en", "en-t-ja", "ja", "ja-jp"])
}
totalLength
youtubeTrailerVideoId
}
}