tags
Query
Search for tags based on a set of filters.
Response
Returns TagConnection
Arguments
| Name | Type | Description |
|---|---|---|
filter | FilterTagInput | Filter tags by id or name. |
first | Int! | Returns the first n elements from the list. Default: |
after | String | Returns the elements in the list that come after the specified cursor. |
sort | [TagsSort!]! | The field and direction by which to sort the results Default: |
Example
query tags( $filter: FilterTagInput, $first: Int!, $after: String, $sort: [TagsSort!]!) { tags( filter: $filter, first: $first, after: $after, sort: $sort ) { pageInfo { hasNextPage hasPreviousPage startCursor endCursor } edges { node { id name color } cursor } totalCount }}{ "first": 20, "sort": [ { "field": "LABEL_NAME", "direction": "ASC" }, { "field": "ID", "direction": "ASC" } ]}{ "data": { "tags": { "pageInfo": { "hasNextPage": false, "hasPreviousPage": true, "startCursor": "startCursor-867d", "endCursor": "endCursor-f100" }, "edges": [ { "node": { "id": "5da3e448-af53-83a9-a0be-d3b2db181d15", "name": "name-b03c", "color": "color-3873" }, "cursor": "cursor-c782" } ], "totalCount": 622 } }}