ManMan Worker DAL API (0.1.0)

Download OpenAPI specification:Download

Server Instance Create

Request Body schema: application/json
game_server_instance_id
required
integer (Game Server Instance Id)
game_server_config_id
required
integer (Game Server Config Id)
created_date
string <date-time> (Created Date)
required
End Date (string) or End Date (null) (End Date)
worker_id
required
integer (Worker Id)
required
Last Heartbeat (string) or Last Heartbeat (null) (Last Heartbeat)

Responses

Request samples

Content type
application/json
{
  • "game_server_instance_id": 0,
  • "game_server_config_id": 0,
  • "created_date": "2019-08-24T14:15:22Z",
  • "end_date": "2019-08-24T14:15:22Z",
  • "worker_id": 0,
  • "last_heartbeat": "2019-08-24T14:15:22Z"
}

Response samples

Content type
application/json
{
  • "game_server_instance_id": 0,
  • "game_server_config_id": 0,
  • "end_date": "2019-08-24T14:15:22Z",
  • "worker_id": 0,
  • "last_heartbeat": "2019-08-24T14:15:22Z"
}

Server Instance Shutdown

Request Body schema: application/json
game_server_instance_id
required
integer (Game Server Instance Id)
game_server_config_id
required
integer (Game Server Config Id)
created_date
string <date-time> (Created Date)
required
End Date (string) or End Date (null) (End Date)
worker_id
required
integer (Worker Id)
required
Last Heartbeat (string) or Last Heartbeat (null) (Last Heartbeat)

Responses

Request samples

Content type
application/json
{
  • "game_server_instance_id": 0,
  • "game_server_config_id": 0,
  • "created_date": "2019-08-24T14:15:22Z",
  • "end_date": "2019-08-24T14:15:22Z",
  • "worker_id": 0,
  • "last_heartbeat": "2019-08-24T14:15:22Z"
}

Response samples

Content type
application/json
{
  • "game_server_instance_id": 0,
  • "game_server_config_id": 0,
  • "end_date": "2019-08-24T14:15:22Z",
  • "worker_id": 0,
  • "last_heartbeat": "2019-08-24T14:15:22Z"
}

Server Instance

path Parameters
id
required
integer (Id)

Responses

Response samples

Content type
application/json
{
  • "game_server_instance_id": 0,
  • "game_server_config_id": 0,
  • "end_date": "2019-08-24T14:15:22Z",
  • "worker_id": 0,
  • "last_heartbeat": "2019-08-24T14:15:22Z"
}

Server Instance Heartbeat

path Parameters
id
required
integer (Id)

Responses

Response samples

Content type
application/json
{
  • "game_server_instance_id": 0,
  • "game_server_config_id": 0,
  • "end_date": "2019-08-24T14:15:22Z",
  • "worker_id": 0,
  • "last_heartbeat": "2019-08-24T14:15:22Z"
}

Server Config

path Parameters
id
required
integer (Id)

Responses

Response samples

Content type
application/json
{
  • "game_server_config_id": 0,
  • "game_server_id": 0,
  • "is_default": false,
  • "is_visible": true,
  • "name": "string",
  • "executable": "string",
  • "args": [
    ],
  • "env_var": [
    ]
}

Server

path Parameters
id
required
integer (Id)

Responses

Response samples

Content type
application/json
{
  • "game_server_id": 0,
  • "name": "string",
  • "server_type": 1,
  • "app_id": 0
}

Worker Create

Responses

Response samples

Content type
application/json
{
  • "worker_id": 0,
  • "created_date": "2019-08-24T14:15:22Z",
  • "end_date": "2019-08-24T14:15:22Z",
  • "last_heartbeat": "2019-08-24T14:15:22Z"
}

Worker Shutdown

Request Body schema: application/json
worker_id
required
integer (Worker Id)
created_date
string <date-time> (Created Date)
required
End Date (string) or End Date (null) (End Date)
required
Last Heartbeat (string) or Last Heartbeat (null) (Last Heartbeat)

Responses

Request samples

Content type
application/json
{
  • "worker_id": 0,
  • "created_date": "2019-08-24T14:15:22Z",
  • "end_date": "2019-08-24T14:15:22Z",
  • "last_heartbeat": "2019-08-24T14:15:22Z"
}

Response samples

Content type
application/json
{
  • "worker_id": 0,
  • "created_date": "2019-08-24T14:15:22Z",
  • "end_date": "2019-08-24T14:15:22Z",
  • "last_heartbeat": "2019-08-24T14:15:22Z"
}

Worker Shutdown Other

Request Body schema: application/json
worker_id
required
integer (Worker Id)
created_date
string <date-time> (Created Date)
required
End Date (string) or End Date (null) (End Date)
required
Last Heartbeat (string) or Last Heartbeat (null) (Last Heartbeat)

Responses

Request samples

Content type
application/json
{
  • "worker_id": 0,
  • "created_date": "2019-08-24T14:15:22Z",
  • "end_date": "2019-08-24T14:15:22Z",
  • "last_heartbeat": "2019-08-24T14:15:22Z"
}

Response samples

Content type
application/json
null

Worker Heartbeat

Request Body schema: application/json
worker_id
required
integer (Worker Id)
created_date
string <date-time> (Created Date)
required
End Date (string) or End Date (null) (End Date)
required
Last Heartbeat (string) or Last Heartbeat (null) (Last Heartbeat)

Responses

Request samples

Content type
application/json
{
  • "worker_id": 0,
  • "created_date": "2019-08-24T14:15:22Z",
  • "end_date": "2019-08-24T14:15:22Z",
  • "last_heartbeat": "2019-08-24T14:15:22Z"
}

Response samples

Content type
application/json
null

Health

Responses

Response samples

Content type
application/json
"string"