HummingBirdAnimeClient/src/AnimeClient/API/Kitsu/Queries/CharacterDetails.graphql
Timothy J. Warren 1725a106fa
Some checks failed
timw4mail/HummingBirdAnimeClient/pipeline/head There was a failure building this commit
Get character details page from GraphQL, still need to do castings section, see #27
2020-08-17 14:01:55 -04:00

86 lines
1.0 KiB
JavaScript

query ($slug: String!) {
findCharacterBySlug(slug: $slug) {
id
image {
original {
url
}
}
description
names {
alternatives
canonical
canonicalLocale
localized
},
primaryMedia {
posterImage {
original {
url
}
}
titles {
canonical
}
type
},
media {
nodes {
media {
id
slug
titles {
alternatives
canonical
canonicalLocale
localized
}
posterImage {
original {
height
name
url
width
}
views {
height
name
url
width
}
}
type
}
voices {
nodes {
id
licensor {
name
}
locale
person {
id
slug
name
names {
alternatives
canonical
canonicalLocale
localized
}
image {
original {
height
width
url
name
}
}
}
}
}
}
}
slug
}
}