get Services

@GetMapping
open fun <T> getServices(@PathVariable(value = "id") sessionId: String, @PathVariable(value = "host_id") hostId: String, @RequestParam(name = "keywords", defaultValue = "", required = false) keywords: Set<String>, @RequestParam(name = "statuses", defaultValue = "RUNNING, STOPPED, 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 services of a host

Return

the response as T

Parameters

sessionId

The identifier of the session

hostId

The identifier of the host

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