Skip to main content

myDevices

List all Devices for the currently authenticated user's account

This returns a paginated list.

myDevices(
offset: Int
limit: Int
filter: DeviceFilter
): DevicePage!

Arguments

myDevices.offset ● Int scalar common

myDevices.limit ● Int scalar common

myDevices.filter ● DeviceFilter input devices

Type

DevicePage object devices

The Result Set for a search using myDevices query

Code Samples

curl -X POST https://graphql.pointonenav.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"query": "query MyDevices($offset: Int, $limit: Int) { myDevices(offset: $offset, limit: $limit) { content { id label services { rtk { enabled connectionStatus } } } totalElements pageNumber totalPages } }",
"variables": {
"offset": 0,
"limit": 10
}
}'