Query / devices
listDevices
List devices with pagination. Requires device:list permission.
Arguments
firstIntNumber of items to return from the start
lastIntNumber of items to return from the end
afterStringCursor pointing to the item after which to start
beforeStringCursor pointing to the item before which to start
filterDeviceFilterInputFilter criteria for devices
sort[DeviceSortInput!]Sort order for results
Returns DeviceConnection!
Explore in a view
View exact SDL
"""List devices with pagination. Requires device:list permission."""
listDevices(
"""Number of items to return from the start"""
first: Int
"""Number of items to return from the end"""
last: Int
"""Cursor pointing to the item after which to start"""
after: String
"""Cursor pointing to the item before which to start"""
before: String
"""Filter criteria for devices"""
filter: DeviceFilterInput
"""Sort order for results"""
sort: [DeviceSortInput!]
): DeviceConnection! @topic(names: ["devices"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.