Kris Moore
|
1f62042828
|
Add new relaunchd configuration files, but keep rc.d so both
can be used
|
2016-04-12 16:55:03 -04:00 |
|
Ken Moore
|
3acadf13d0
|
Minor update to the .gitignore file - make sure *all* compiled (.o, moc_*) files are ignored.
|
2016-03-22 11:51:17 -04:00 |
|
Kris Moore
|
1ba65b3388
|
Add new API class and call for 'beadm', with the initial listbes
API call
REST Request:
-------------------------------
PUT /sysadm/beadm
{
"action" : "listbes"
}
WebSocket Request:
-------------------------------
{
"name" : "beadm",
"namespace" : "sysadm",
"id" : "fooid",
"args" : {
"action" : "listbes"
}
}
Response:
-------------------------------
{
"args": {
"listbes": {
"11.0-CURRENTJAN2016-up-20160128_150853": {
"active": "NR",
"date": "2016-01-28",
"mount": "/",
"nick": "14:57",
"space": "10.2G"
},
"initial": {
"active": "-",
"date": "2016-01-28",
"mount": "-",
"nick": "07:00",
"space": "1.2G"
}
}
},
"id": "fooid",
"name": "response",
"namespace": "sysadm"
}
|
2016-02-05 11:02:47 -05:00 |
|
Kris Moore
|
609bba2ded
|
New API call to get a listing of all the CPU temps on the system,
if the "coretemp" module isn't loaded, it will be loaded beforehand
REST Request:
-------------------------------
PUT /sysadm/systeminfo
{
"action" : "cputemps"
}
REST Response:
-------------------------------
{
"args": {
"cputemps": {
"cpu0": "27.0C",
"cpu1": "34.0C",
"cpu2": "33.0C",
"cpu3": "31.0C"
}
}
}
WebSocket Request:
-------------------------------
{
"args" : {
"action" : "cputemps"
},
"id" : "fooid",
"name" : "systeminfo",
"namespace" : "sysadm"
}
WebSocket Response:
-------------------------------
{
"args": {
"cputemps": {
"cpu0": "34.0C",
"cpu1": "32.0C",
"cpu2": "34.0C",
"cpu3": "31.0C"
}
},
"id": "fooid",
"name": "response",
"namespace": "sysadm"
}
|
2016-01-21 12:58:12 -05:00 |
|
Kris Moore
|
7d839787bd
|
Add first API call for the "systeminfo" class
This API call will return a list of external mounts
on the system
TYPE: UNKNOWN/USB/HDRIVE/DVD/SDCARD
REST Request:
-------------------------------
PUT /sysadm/systeminfo
{
"action" : "externalmounts"
}
REST Response:
-------------------------------
{
"args": {
"externalmounts": {
"/dev/fuse": {
"filesystem": "fusefs",
"path": "/usr/home/kris/.gvfs",
"type": "UNKNOWN"
}
}
}
}
WebSocket Request:
-------------------------------
{
"id" : "fooid",
"namespace" : "sysadm",
"name" : "systeminfo",
"args" : {
"action" : "externalmounts"
}
}
WebSocket Response:
-------------------------------
{
"args": {
"externalmounts": {
"/dev/fuse": {
"filesystem": "fusefs",
"path": "/usr/home/kris/.gvfs",
"type": "UNKNOWN"
}
}
},
"id": "fooid",
"name": "response",
"namespace": "sysadm"
}
|
2016-01-20 12:13:25 -05:00 |
|
Kris Moore
|
766305dcdf
|
Add new "update" API class with the first "checkupdates" action for
testing. We will add an API call for doc'ing once we troubleshoot
some issues
|
2016-01-18 15:07:57 -05:00 |
|
Kris Moore
|
32a836824d
|
Fix REST test script, and add .gitignore for dirty directory
|
2016-01-05 14:44:46 -05:00 |
|