Request a stream for an environment.
get/midgard/v0.1/stream/environment/{environmentId}/{type}
Generates a WebSocket URL and initiates a TCP stream client for the specified environment.
Request
Authorization
X-AT
header
apiKey
Path Parameters
environmentIdThe ID of the environment.
integer
REQUIRED
typeThe type of stats to stream.
string
REQUIRED
Response
200Stream websocket url created successfully.
400Returned when the environment is not found or permissions are incorrect.
403User is not allowed to access this resource.
Shell cURL
shell
Show schema
json