getDevices

abstract suspend fun getDevices(targetAccount: UUID): HubPayload<List<Device>>

Retrieves all devices from the account that matches the given uuid.

Returns a HubPayload which encapsulates the outcome. In case it is successful the value is the resulted list of devices or the error if it is failure.