ServerValidate
POST/server_validate
ServerValidate
Request
- application/json
Body
required
id string
non-empty
Unique ID of the webhook
create_time string
Notification creation time, format example: 2021-11-08T05:45:20Z
update_time string
Update time, format example: 2021-11-08T05:45:20Z
event_type string
event_type
event_version string
event version
resource_type string
resource_type
resource_version string
resource version,currenct version:v1
summary string
Callback summary information
resource
object
app_id string
non-empty
Application ID, assigned by MidasBuy
server_id string[]
The number of the game server
Responses
- 200
- default
OK
- application/json
- Response
- Example
Response
Array [
]
app_id string
Application ID, assigned by MidasBuy
server_items
object[]
server information list
server_id string
non-empty
The number of the game server
server_status enum
[UNDEFINED
, ServerRunning
, ServerOffline
]
server status
{
"app_id": "1450015065",
"server_items": [
{
"server_id": "1",
"server_status": "ServerRunning"
}
]
}
Error response structure
- application/json
- Response
- Example
Response
Array [
]
Array [
]
name string
message string
details
object[]
@type string
The type of the serialized message.
debug_id string
causes
object[]
cause string
solution string
{
"name": "string",
"message": "string",
"details": [
{
"@type": "string"
}
],
"debug_id": "string",
"causes": [
{
"cause": "string",
"solution": "string"
}
]
}
Loading...