mirror of
https://gitlab.com/JKANetwork/powerfulcomputermanager.git
synced 2026-02-21 04:23:44 +01:00
Bug fixing and show detailed status of cooks in gui
This commit is contained in:
10
api.py
10
api.py
@@ -258,6 +258,11 @@ class getGrpCook(object): # Get Groups of a Cook
|
||||
else:
|
||||
response.media = {'TEXT': 'Error, no Cook selected','RESULT':'ERROR'}
|
||||
|
||||
##
|
||||
# getStatusCook: Get groups from a Cook
|
||||
# /get/statuscook?
|
||||
# @param CookName -> Cook to show detailed status
|
||||
##
|
||||
class getStatusCook(object): # Get Status of a Cook (If Brief=1 is sent too, brief status (Completed:X, updated:X..))
|
||||
def on_get(self,request,response):
|
||||
logit(request)
|
||||
@@ -273,6 +278,11 @@ class getStatusCook(object): # Get Status of a Cook (If Brief=1 is sent too, bri
|
||||
else:
|
||||
response.media = {'TEXT': 'Error, no Cook selected','RESULT':'ERROR'}
|
||||
|
||||
##
|
||||
# getLastRevisionCook: Get last revision from a Cook
|
||||
# /get/lastrevisioncook?
|
||||
# @param CookName -> Cook to show detailed status
|
||||
##
|
||||
class getLastRevisionCook(object): # Get Number Revision (Revision=X)
|
||||
def on_get(self,request,response):
|
||||
logit(request)
|
||||
|
||||
Reference in New Issue
Block a user