Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.

Query Parameters

page
integer
default:1

1-based page index to return. Defaults to 1.

Required range: 1 <= x <= 9007199254740991
pageSize
integer
default:20

Rows per page, 1..100. Defaults to 20.

Required range: 1 <= x <= 100
kind
string

Peripheral family filter: printer, scanner, payment-terminal (TPE), cash-drawer or customer-display.

Minimum string length: 1
status
string

Hardware link-state filter: ready (online), disconnected, connecting, error or retired (unpaired). status=error triages hardware faults.

Minimum string length: 1
storeId
string

Store REFERENCE filter: a store id from GET /v1/stores (e.g. store-rivoli), never a store name. This is how you read one shop's material without paging the whole fleet. A device paired before the store selector existed carries a store label and no storeId, so it matches NO value of this filter — read the fleet unfiltered when you need those legacy rows too.

Minimum string length: 1
sortField
enum<string>

Field to order by: label or lastSeen.

Available options:
label,
lastSeen
sortDirection
enum<string>

Order direction for sortField (default asc).

Available options:
asc,
desc

Response

A page of fleet devices with the pagination totals.

A page of fleet devices with the pagination totals.

items
object[]
required

The rows on this page, in the query's sort order.

total
integer
required

Total rows matching the filter across ALL pages, not just this one.

Required range: 0 <= x <= 9007199254740991
page
integer
required

The 1-based page number served.

Required range: 0 < x <= 9007199254740991
pageSize
integer
required

Rows requested per page.

Required range: 0 < x <= 9007199254740991
pageCount
integer
required

Total number of pages; stop walking when page reaches it.

Required range: 0 <= x <= 9007199254740991