Query

Every GraphQL schema has a root type for both queries and mutations. The query type defines GraphQL operations that retrieve data from the server.

Connections

searchCharacters (CharacterConnection)
Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

annictIds [Int!]
before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

names [String!]
orderBy CharacterOrder
searchEpisodes (EpisodeConnection)
Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

annictIds [Int!]
before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

orderBy EpisodeOrder
searchOrganizations (OrganizationConnection)
Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

annictIds [Int!]
before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

names [String!]
orderBy OrganizationOrder
searchPeople (PersonConnection)
Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

annictIds [Int!]
before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

names [String!]
orderBy PersonOrder
searchWorks (WorkConnection)
Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

annictIds [Int!]
before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

orderBy WorkOrder
seasons [String!]
titles [String!]

Fields

node (Node)

Fetches an object given its ID.

Argument Type Description
id ID!

ID of the object.

nodes ([Node]!)

Fetches a list of objects given a list of IDs.

Argument Type Description
ids [ID!]!

IDs of the objects.

user (User)
Argument Type Description
username String!
viewer (User)