Create Game Server
Create Game Server on the NodeRings client API (POST /v1/game-servers).
Authorization<token>
Bearer token
In: header
X-Organization-ID<token>
Tenant or organization identifier
In: header
planId?string
templateId?string
regionId?string
providerOrganizationId?string
versionValue?string
name?string
idempotencyKey?string
environment?
environment overrides egg defaults. Only user-editable variables are accepted.
acceptEula?boolean
accept_eula is the customer's agreement. Required when the egg has the EULA mark.
Response Body
application/json
curl -X POST "https://api.noderings.com/v1/game-servers" \ -H "Authorization: Bearer {your_token}" \ -H "X-Organization-ID: {your_org_id}" \ -H "Content-Type: application/json" \ -d '{ "planId": "string", "templateId": "string", "regionId": "string", "providerOrganizationId": "string", "versionValue": "string", "name": "string", "idempotencyKey": "string", "environment": null, "acceptEula": false}'{
"id": "string",
"name": "string",
"planId": "string",
"templateId": "string",
"regionId": "string",
"nodeId": "string",
"organizationId": "string",
"icon": "string",
"variant": "string",
"versionValue": "string",
"allocationIp": "string",
"allocationPort": 0,
"allocationAlias": "string",
"phase": "GAME_SERVER_PHASE_UNSPECIFIED",
"lastError": "string",
"panelIdentifier": "string",
"powerState": "string",
"timestamps": {
"createTime": "2019-08-24T14:15:22Z",
"updateTime": "2019-08-24T14:15:22Z"
},
"providerName": "string",
"regionCity": "string",
"regionCountry": "string",
"planCode": "string",
"gameName": "string",
"planBillingType": "string",
"databaseLimit": 0,
"backupLimit": 0,
"allocationLimit": 0
}