More API documentation
This commit is contained in:
1 parent
a5cc1859d1
commit
b164674ff7
7 files changed
+88
-31
No files matched your search
@@ -29,7 +29,13 @@ class StatusPlugin(Plugin):
|
||||
addEvent('status.all', self.all)
|
||||
addEvent('app.initialize', self.fill)
|
||||
|
||||
addApiView('status.list', self.list)
|
||||
addApiView('status.list', self.list, docs = {
|
||||
'desc': 'Check for available update',
|
||||
'return': {'type': 'object', 'example': """{
|
||||
'success': True,
|
||||
'list': array, statuses
|
||||
}"""}
|
||||
})
|
||||
|
||||
def list(self):
|
||||
|
||||
|
||||
Reference in new issue
Block a user