images
Query
Retrieve created and uploaded images.
Response
Returns ImageConnection
Arguments
| Name | Type | Description |
|---|---|---|
filter | FilterImageInput | Filter images by data source id, timestamp, etc. |
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 | [ImagesSort!]! | The field and direction by which to sort the results Default: |
Example
query images( $filter: FilterImageInput, $first: Int!, $after: String, $sort: [ImagesSort!]!) { images( filter: $filter, first: $first, after: $after, sort: $sort ) { pageInfo { hasNextPage hasPreviousPage startCursor endCursor } edges { node { id dataSourceId timestamp url thumbnailUrl } cursor } totalCount }}{ "first": 20, "sort": [ { "field": "TIMESTAMP", "direction": "ASC" }, { "field": "ID", "direction": "ASC" } ]}{ "data": { "images": { "pageInfo": { "hasNextPage": false, "hasPreviousPage": true, "startCursor": "startCursor-867d", "endCursor": "endCursor-f100" }, "edges": [ { "node": { "id": "71c5045b-8c64-8008-88e1-7cc3beceffe4", "dataSourceId": "0c3f4715-1a80-88eb-9606-bf9ba9d61e66", "timestamp": "2025-01-01T00:00:00.000Z", "url": "url-9d02", "thumbnailUrl": "thumbnailUrl-a1f8" }, "cursor": "cursor-a2d2" } ], "totalCount": 451 } }}