get Host

@GetMapping(path = "/{" + HOST_IDENTIFIER_KEY + "}" )
open fun <T> getHost(@PathVariable(value = "id") sessionId: String, @PathVariable(value = "host_id") hostId: String, @RequestParam(value = "language", required = false, defaultValue = "en") language: String): T

Endpoint used to get an existing host

Return

the response as T

Parameters

sessionId

The identifier of the session

hostId

The identifier of the host

language

The language of the user who sent the request

<T>

the type of the response