HummingBirdAnimeClient/src/AnimeClient/API/Kitsu/Queries/AnimeDetails.graphql
Timothy J. Warren f328420869
All checks were successful
timw4mail/HummingBirdAnimeClient/pipeline/head This commit looks good
Create and delete media items via GraphQL, see #28
2020-08-05 13:30:24 -04:00

109 lines
1.2 KiB
JavaScript

query ($slug: String!) {
findAnimeBySlug(slug: $slug) {
id
ageRating
ageRatingGuide
posterImage {
original {
height
name
url
width
}
views {
height
name
url
width
}
}
categories {
nodes {
title
}
}
characters {
nodes {
character {
id
names {
alternatives
canonical
localized
}
image {
original {
height
name
url
width
}
}
slug
}
role
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
}
startDate
endDate
episodeCount
episodeLength
totalLength
season
sfw
slug
staff {
nodes {
person {
id
birthday
image {
original {
height
name
url
width
}
views {
height
name
url
width
}
}
names {
alternatives
canonical
localized
}
#slug
}
role
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
}
status
subtype
synopsis
titles {
alternatives
canonical
canonicalLocale
localized
}
totalLength
youtubeTrailerVideoId
}
}