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

+6 -9
View File
@@ -33,15 +33,12 @@ class Updater(Plugin):
'desc': 'Get updater information',
'return': {
'type': 'object',
'example': """
{
'repo_name': "Name of used repository",
'last_check': "last checked for update",
'update_version': "available update version or empty",
'version': current_cp_version
}
"""
}
'example': """{
'repo_name': "Name of used repository",
'last_check': "last checked for update",
'update_version': "available update version or empty",
'version': current_cp_version
}"""}
})
addApiView('updater.update', self.doUpdateView)
addApiView('updater.check', self.checkView, docs = {