| English | Korean | Chinese | Japanese |
Chapter 8. Status Information APIs
Log Status Request
Request
http://<address>:<port>/reqStatus?category=log[&startIdx=<idx>]
Response
{
"logs": [
{
"idx": 0,
"time": "2022-01-18T06:22:43.000Z",
"type": "SYSTEM",
"msg": "VMS Start (Version=1.0.3.3)"
},
...
]
}
Storage Status Request
Request
http://<address>:<port>/reqStatus?category=storage
Response
{
"storage": [
{
"poolId": 1,
"channels": [1, 2, 3, 4,],
"info": [
{
"drive": "L:",
"minFreeSpaceMB": "100",
"diskTotalSpaceGB": "11",
"diskFreeSpaceGB": "3",
"timePartAStart": "2022-02-13T23:00:00.000Z",
"timePartAFinish": "2022-02-13T23:00:00.000Z",
"timePartBStart": "2022-02-14T01:00:00.000Z",
"timePartBFinish": "2022-02-15T07:00:00.000Z",
"isRecording": true
},
...
]
},
...
]}
· poolId: poolId is 0 for archived files and 1 or higher for video recordings.
HDD S.M.A.R.T. Status Request
Request
http://<address>:<port>/reqStatus?category=smart
Response
{
"smart": [
{
"idx": 0,
"model": "Samsung SSD 840 Series",
"serial": "S19BNEAD300547Y",
"fw_rev": "DXT07B0QSamsung SSD 840 Series",
"cache": 0,
"buffer": 0,
"drives": "C:,E:",
"status": [
{
"id": 5,
"name": "Reallocated Sectors Count",
"isCritical": true,
"value": 100,
"worst": 100,
"attribValue": 0,
"threshold": 10
},
...
]
},
...
}
Threads Status Request
Request
http://<address>:<port>/reqStatus?category=threads
Response
{
"threads": [
{
"section": "System",
"threads": [
{
"title": "Init",
"active": 0,
"total": 0
},
...
]
},
...
]
}
Memory Status Request
Request
http://<address>:<port>/?category=memory[&startIdx=<idx>]
Response
{
"memory": [
{
"idx": 0,
"time": "2022-01-18T06:22:45.000Z",
"memoryUsageMB": 107,
},
...
]
}

