Методы

server-info

Получение состояния сервера
Тело запроса:
Имя
Тип
Описание
Примечание
method_id
enum
server-info
There are no rows in this table
Тело ответа:
Имя
Тип
Описание
Примечание
method_id
enum
server-info
info
object of
Информация о сервере
state
object of
Состояние сервера
result
numeric
200 - успешно, 400 - ошибка в запросе
There are no rows in this table
Пример запроса:
{
"server": "abcdefghij123456",
"type": "request",
"id": 123,
"methods": [
{
"method_id": "server-info"
}
]
}

Пример ответа:
{
"server": "abcdefghij123456",
"type": "response",
"id": 123,
"result": 207,
"methods": [
{
"method_id": "server-info",
"info": {
"id": "abcdefghij123456",
"name": "WBS",
"version": "3.0.82",
"build time": "09.04.2024 12:22:24 UTC",
"start_time": "09.04.24 23:47:05.750431"
},
"state": {
"pid": 61585,
"memory_used": 2221600,
"handles_used": 55,
"cpu_used": 6.1517
},
"result": 200
}
]
}

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.