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

articleList (ArticleConnection)
Argument Type Description
limit Int
nextToken String
categoryList (CategoryConnection)
Argument Type Description
limit Int
nextToken String
sortOrder SortOrderInput
pollList (PollConnection)
Argument Type Description
limit Int
nextToken String
pollGetOptions (PollOptionConnection)
Argument Type Description
pollId ID!
first Int
after String
authorList (AuthorConnection)
Argument Type Description
limit Int
nextToken String

Fields

articleGet (Article)
Argument Type Description
id ID!
articleGetByCategory ([Article])
Argument Type Description
categoryId ID!
categoryGet (Category)
Argument Type Description
id ID!
mediaGet (Media)
Argument Type Description
id ID!
pollGet (Poll)
Argument Type Description
id ID!
userGet (User)
Argument Type Description
id ID!
authorGet (Author)
Argument Type Description
id ID!
postGet (Post)
Argument Type Description
id ID!
metaGet (Meta)
Argument Type Description
key String!