Aquila
Game server SDK

Hold the server back from allocation and scale-down

POST
/v1/reserve

Only a Ready or Reserved server can be reserved. It returns to Ready when the time runs out.

Authorization

token
headerAuthorizationBearer <token>

The contents of the file named by AQUILA_SDK_TOKEN_FILE.

Request Body

application/json
  1. body
seconds*integer
Formatint64
Range1 <= value <= 3600

Response Body

Done

Example Request
curl -X POST 'http://gs-operator-sdk.gs-operator-system.svc:9450/v1/reserve' \  -H 'Content-Type: application/json' \  -d '{  "seconds": 1}'
Example Response
Empty