Authorization: Bearer ********************
{
"orderBy": "devices.serial",
"orderDirection": false,
"page": 1,
"paginationSize": 10
}
curl --location --request POST '/api/public/v1/devices/paginate' \
--header 'Content-Type: application/json' \
--data-raw '{
"orderBy": "devices.serial",
"orderDirection": false,
"page": 1,
"paginationSize": 10
}'
{
"rows": [
{
"id": 1,
"case_id": "OneCaseId",
"name": "OneName",
"serial": "OneSerial",
"description": null,
"is_subscribed": true,
"owner": false,
"properties": {},
"subscribed_until": "2100-01-01 00:00:00",
"type": {
"id": 7,
"code": "one_fiware",
"name": "ONE",
"brand": "Libelium",
"category": "One"
},
"entities": [
42248
]
},
{
"id": 2,
"case_id": "OneCaseId2",
"name": "OneName2",
"serial": "OneSerial2",
"description": null,
"is_subscribed": true,
"owner": false,
"properties": {},
"subscribed_until": "2100-01-01 00:00:00",
"type": {
"id": 7,
"code": "one_fiware",
"name": "ONE",
"brand": "Libelium",
"category": "One"
},
"entities": [
42250
]
}
],
"count": 2
}