Summary
Table of Contents:
GET Summary
HTTP Request
GET https://manage.runcloud.io/base-api/servers/<server.id>/show
Request
curl -X GET "https://manage.runcloud.io/base-api/servers/yO4VAbX2BkNz/show" \
-u YOUR_API_KEY:YOUR_API_SECRET \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Response
{
"stats": {
"webApplication": 6,
"database": 8,
"cronJob": 2,
"supervisord": 2
},
"geo": {
"country": "Singapore",
"subdivision": "Central Singapore Community Development Council",
"latitude": 1.2854999999999999,
"longitude": 103.8565
}
}
GET Hardware info
HTTP Request
GET https://manage.runcloud.io/base-api/servers/<server.id>/show/data
Request
curl -X GET "https://manage.runcloud.io/base-api/servers/yO4VAbX2BkNz/show/data" \
-u YOUR_API_KEY:YOUR_API_SECRET \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Response
{
"kernelVersion": "4.4.0-112-generic",
"processorName": "Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz",
"totalCPUCore": 2,
"totalMemory": 0.9688453674316406,
"freeMemory": 0.3032188415527344,
"diskTotal": 7.262953472,
"diskFree": 3.135172608,
"loadAvg": 0,
"uptime": "70h 42m 6s"
}