Aquila
Fleets

ListFleets

POST
/fleets.v1.FleetService/ListFleets

ListFleets lists the organization's fleets in every zone.

Authorization

apiKey
headerAuthorizationBearer <token>

An organization API key, created in the console.

Request Body

application/json
  1. body
organizationId?organization_id
Formatuuid

Response Body

Success

application/json
  1. response
fleets?array<>
Example Request
curl -X POST 'https://api.aquilahosting.com/fleets.v1.FleetService/ListFleets' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "fleets": [    {      "fleetId": "string",      "organizationId": "string",      "name": "string",      "zone": "string",      "template": {        "image": "string",        "command": [          "string"        ],        "args": [          "string"        ],        "env": {          "property1": "string",          "property2": "string"        },        "ports": [          {            "name": "string",            "containerPort": 1,            "protocol": "PORT_PROTOCOL_UNSPECIFIED"          }        ],        "cpuMillicores": "string",        "memoryMib": "string",        "labels": {          "property1": "string",          "property2": "string"        },        "health": {          "disabled": true,          "periodSeconds": 0,          "failureThreshold": 0,          "initialDelaySeconds": 0        },        "withoutSdk": true,        "readiness": {          "initialDelaySeconds": 0,          "periodSeconds": 0,          "failureThreshold": 0,          "exec": {            "command": [              "string"            ]          }        },        "liveness": {          "initialDelaySeconds": 0,          "periodSeconds": 0,          "failureThreshold": 0,          "exec": {            "command": [              "string"            ]          }        },        "metrics": {          "port": 1,          "path": "string"        },        "players": {          "count": "string",          "capacity": "string"        },        "sdkProtocol": "SDK_PROTOCOL_UNSPECIFIED"      },      "replicas": 0,      "autoscaler": {        "minReplicas": 0,        "maxReplicas": 1,        "bufferCount": 1      },      "createdAt": "2023-01-15T01:30:15.01Z",      "updatedAt": "2023-01-15T01:30:15.01Z",      "status": {        "replicas": 0,        "readyReplicas": 0,        "allocatedReplicas": 0,        "reservedReplicas": 0,        "ready": true,        "quotaExceeded": true,        "degraded": true,        "scalingLimited": true,        "message": "string"      },      "charts": [        "string"      ],      "secrets": [        {          "name": "string",          "updatedAt": "2023-01-15T01:30:15.01Z"        }      ]    }  ]}