mirror of
https://github.com/outbackdingo/sysadm.git
synced 2026-01-27 10:20:26 +00:00
REST Request:
-------------------------------
PUT /sysadm/iocage
{
"action" : "listjails"
}
REST Response:
-------------------------------
{
"args": {
"listjails": {
"0bf985de-ca0f-11e5-8d45-d05099728dbf": {
"boot": "off",
"ip4": "-",
"jid": "-",
"state": "down",
"tag": "test",
"type": "basejail"
}
}
}
}
WebSocket Request:
-------------------------------
{
"name" : "iocage",
"id" : "fooid",
"args" : {
"action" : "listjails"
},
"namespace" : "sysadm"
}
WebSocket Response:
-------------------------------
{
"args": {
"listjails": {
"0bf985de-ca0f-11e5-8d45-d05099728dbf": {
"boot": "off",
"ip4": "-",
"jid": "-",
"state": "down",
"tag": "test",
"type": "basejail"
}
}
},
"id": "fooid",
"name": "response",
"namespace": "sysadm"
}