Skip to content

Commit

Permalink
* Updated src/luxos/api.json to contain the changes necessary to push…
Browse files Browse the repository at this point in the history
… changes to the new api.json format

* Updated src/luxos/api.json in order a little more closely. Corrected removepool so it does not require a login session
* Since we're now using python zip structure, updated luxos.pyz to contain the conglomerate of the changes
  • Loading branch information
cschwartz1234 committed Apr 1, 2024
1 parent 56c2060 commit 67fdcc5
Show file tree
Hide file tree
Showing 5 changed files with 222 additions and 4 deletions.
3 changes: 3 additions & 0 deletions __main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-
import luxos.scripts.health_checker
luxos.scripts.health_checker.main()
Binary file modified health-checker.pyz
Binary file not shown.
Binary file modified luxos.pyz
Binary file not shown.
50 changes: 46 additions & 4 deletions src/luxos/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"atmset": {
"logon_required": true
},
"autotunerget": {
"logon_required": false
},
"autotunerset": {
"logon_required": true
},
"check": {
"logon_required": false
},
Expand All @@ -35,12 +41,18 @@
"devs": {
"logon_required": false
},
"disableboard": {
"logon_required": true
},
"disablepool": {
"logon_required": false
},
"edevs": {
"logon_required": false
},
"enableboard": {
"logon_required": true
},
"enablepool": {
"logon_required": false
},
Expand Down Expand Up @@ -95,9 +107,18 @@
"logon": {
"logon_required": false
},
"logset": {
"logon_required": false
},
"netset": {
"logon_required": true
},
"poolopts": {
"logon_required": false
},
"pooloptsset": {
"logon_required": false
},
"pools": {
"logon_required": false
},
Expand All @@ -116,6 +137,9 @@
"profiles": {
"logon_required": false
},
"profilerestore": {
"logon_required": true
},
"profileset": {
"logon_required": true
},
Expand All @@ -128,12 +152,15 @@
"removegroup": {
"logon_required": false
},
"removepool": {
"logon_required": false
},
"resetminer": {
"logon_required": true
},
"resetconfig": {
"logon_required": true
},
"removepool": {
"logon_required": false
},
"session": {
"logon_required": false
},
Expand All @@ -155,6 +182,21 @@
"temps": {
"logon_required": false
},
"tempsensor": {
"logon_required": false
},
"tempsensorset": {
"logon_required": true
},
"tunerstatus": {
"logon_required": false
},
"tunerswitch": {
"logon_required": true
},
"uninstallluxos": {
"logon_required": true
},
"updaterun": {
"logon_required": true
},
Expand All @@ -170,4 +212,4 @@
"voltageset": {
"logon_required": true
}
}
}
173 changes: 173 additions & 0 deletions src/luxos/api.json-orig
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
{
"addgroup": {
"logon_required": false
},
"addpool": {
"logon_required": false
},
"asc": {
"logon_required": false
},
"asccount": {
"logon_required": false
},
"atm": {
"logon_required": false
},
"atmset": {
"logon_required": true
},
"check": {
"logon_required": false
},
"coin": {
"logon_required": false
},
"config": {
"logon_required": false
},
"curtail": {
"logon_required": true
},
"devdetails": {
"logon_required": false
},
"devs": {
"logon_required": false
},
"disablepool": {
"logon_required": false
},
"edevs": {
"logon_required": false
},
"enablepool": {
"logon_required": false
},
"estats": {
"logon_required": false
},
"fans": {
"logon_required": false
},
"fanset": {
"logon_required": true
},
"frequencyget": {
"logon_required": false
},
"frequencyset": {
"logon_required": true
},
"frequencystop": {
"logon_required": true
},
"groupquota": {
"logon_required": false
},
"healthchipget": {
"logon_required": false
},
"healthchipset": {
"logon_required": true
},
"healthctrl": {
"logon_required": false
},
"healthctrlset": {
"logon_required": true
},
"immersionswitch": {
"logon_required": true
},
"kill": {
"logon_required": false
},
"lcd": {
"logon_required": false
},
"limits": {
"logon_required": false
},
"logoff": {
"logon_required": true
},
"logon": {
"logon_required": false
},
"netset": {
"logon_required": true
},
"pools": {
"logon_required": false
},
"power": {
"logon_required": false
},
"profileget": {
"logon_required": false
},
"profilenew": {
"logon_required": true
},
"profilerem": {
"logon_required": true
},
"profiles": {
"logon_required": false
},
"profileset": {
"logon_required": true
},
"reboot": {
"logon_required": true
},
"rebootdevice": {
"logon_required": true
},
"removegroup": {
"logon_required": false
},
"removepool": {
"logon_required": false
},
"resetminer": {
"logon_required": true
},
"session": {
"logon_required": false
},
"stats": {
"logon_required": false
},
"summary": {
"logon_required": false
},
"switchpool": {
"logon_required": false
},
"tempctrl": {
"logon_required": false
},
"tempctrlset": {
"logon_required": true
},
"temps": {
"logon_required": false
},
"updaterun": {
"logon_required": true
},
"updateset": {
"logon_required": true
},
"version": {
"logon_required": false
},
"voltageget": {
"logon_required": false
},
"voltageset": {
"logon_required": true
}
}

0 comments on commit 67fdcc5

Please sign in to comment.