Browse Source

status api (test)

Light Beacon 2 years ago
parent
commit
3ae9df9ff9
1 changed files with 11 additions and 0 deletions
  1. 11 0
      Modules/APIs.py

+ 11 - 0
Modules/APIs.py

@@ -0,0 +1,11 @@
+from Interfaces import page_class_handles, PageBase
+
+@page_class_handles('apis/status')
+class StatusPage(PageBase):
+
+    @property
+    def display_name(self):
+        return 'api/status'
+    
+    def generate(self, *args, **kwargs):
+        return 'ok'