Aquila
Game server SDK

Stream the server's state as it changes

GET
/v1/watch

Server-sent events. Each data: line holds a GameServer as JSON, sent once at the start and again on every change. Comment lines (: ping) keep an idle stream open. The stream ends when the server is deleted. Reconnect when it breaks.

Authorization

token
headerAuthorizationBearer <token>

The contents of the file named by AQUILA_SDK_TOKEN_FILE.

Response Body

An event stream of GameServer objects

response?stringtext/event-stream
Example Request
curl -X GET 'http://gs-operator-sdk.gs-operator-system.svc:9450/v1/watch'
Example Response
"string"