Schema Documentation
themes
Description
Connection between the RootQuery type and the Theme type
Response
Returns a RootQueryToThemeConnection
Arguments
Name | Description |
---|---|
first - Int | The number of items to return after the referenced "after" cursor |
last - Int | The number of items to return before the referenced "before" cursor |
after - String | Cursor used along with the "first" argument to reference where in the dataset to get data |
before - String | Cursor used along with the "last" argument to reference where in the dataset to get data |
Example
Query
query themes( $first: Int,$last: Int,$after: String,$before: String){ themes( first: $first, last: $last, after: $after, before: $before ){ edges { ...RootQueryToThemeConnectionEdgeFragment }nodes { ...ThemeFragment }pageInfo { ...RootQueryToThemeConnectionPageInfoFragment } }}
Variables
{"first":987,"last":987,"after":"abc123","before":"abc123"}
Response
{"data":{"themes":{"edges":[RootQueryToThemeConnectionEdge],"nodes":[Theme],"pageInfo":RootQueryToThemeConnectionPageInfo}}}