Schema Documentation
postFormats
Description
Connection between the RootQuery type and the postFormat type
Response
Returns a RootQueryToPostFormatConnection
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 |
where - RootQueryToPostFormatConnectionWhereArgs | Arguments for filtering the connection |
Example
Query
query postFormats( $first: Int,$last: Int,$after: String,$before: String,$where: RootQueryToPostFormatConnectionWhereArgs){ postFormats( first: $first, last: $last, after: $after, before: $before, where: $where ){ edges { ...RootQueryToPostFormatConnectionEdgeFragment }nodes { ...PostFormatFragment }pageInfo { ...RootQueryToPostFormatConnectionPageInfoFragment } }}
Variables
{"first":987,"last":123,"after":"abc123","before":"xyz789","where":RootQueryToPostFormatConnectionWhereArgs}
Response
{"data":{"postFormats":{"edges":[RootQueryToPostFormatConnectionEdge],"nodes":[PostFormat],"pageInfo":RootQueryToPostFormatConnectionPageInfo}}}