More API documentation

This commit is contained in:
Ruud committed 2012-02-21 20:42:41 +01:00
1 parent a5cc1859d1
commit b164674ff7
7 files changed
+88 -31

No files matched your search

+7 -1
View File
@@ -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):