get Devices

@GetMapping(path = "USERS_KEY + "/{" + IDENTIFIER_KEY + "}" + "/" + DEVICES_KEY", headers = [] )
open fun <T> getDevices(    @PathVariable(value = "id") userId: String,     @RequestHeader(value = "token") token: String,     @RequestHeader(value = "device_id") deviceId: String,     @RequestParam(name = "page", defaultValue = "0", required = false) page: Int,     @RequestParam(name = "pageSize", defaultValue = "10", required = false) pageSize: Int): T

Endpoint used to get the connected device of the user

Return

the result of the request as T

Parameters

userId

The identifier of the user

token

The token of the user

deviceId

The identifier of the device of the user

page

The page requested

pageSize

The size of the items to insert in the page