Schema Documentation
registeredScripts
Description
Connection between the RootQuery type and the EnqueuedScript type
Response
Returns a RootQueryToEnqueuedScriptConnection
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 registeredScripts( $first: Int,$last: Int,$after: String,$before: String){ registeredScripts( first: $first, last: $last, after: $after, before: $before ){ edges { ...RootQueryToEnqueuedScriptConnectionEdgeFragment }nodes { ...EnqueuedScriptFragment }pageInfo { ...RootQueryToEnqueuedScriptConnectionPageInfoFragment } }}
Variables
{"first":123,"last":987,"after":"xyz789","before":"abc123"}
Response
{"data":{"registeredScripts":{"edges":[RootQueryToEnqueuedScriptConnectionEdge],"nodes":[EnqueuedScript],"pageInfo":RootQueryToEnqueuedScriptConnectionPageInfo}}}