get Hosts

@GetMapping
open fun <T> getHosts(@PathVariable(value = "id") sessionId: String, @RequestParam(name = "keywords", defaultValue = "", required = false) keywords: Set<String>, @RequestParam(name = "statuses", defaultValue = "ONLINE, OFFLINE, REBOOTING", required = false) statuses: List<String>, @RequestParam(value = "language", required = false, defaultValue = "en") language: String, @RequestParam(name = "page", defaultValue = "0", required = false) page: Int, @RequestParam(name = "pageSize", defaultValue = "10", required = false) pageSize: Int): T

Endpoint used to retrieve the hosts of a session

Return

the response as T

Parameters

sessionId

The identifier of the session

keywords

The keywords used to filter the results

statuses

The statuses used to filter the results

language

The language of the user who sent the request

page

The page requested

pageSize

The size of the items to insert in the page

<T>

the type of the response