Skip to main content

Get all main characters

This page shows how to get all main Characters of the provided Content.

Sample

Replace [RESOURCE-NAME] with a valid content in Animeshon's Knowledge Base.

tip

Try with animes/4287922344858850139.

tip

Visit https://animeshon.com/graphql to browse the GraphQL embedded documentation.

There is a single unified endpoint for Animeshon GraphQL queries and mutations: https://animeshon.com/graphql.

query {
getGraphGeneric(name: "[RESOURCE-NAME]") {
name
... on Starring {
starring(filter: { relation: { eq: MAIN } }) {
character {
name
... on GraphCharacter {
names {
text
localizationTag
}
}
}
}
}
}
}
View on GitHub