This repository has been archived on 2022-02-23. You can view files and clone it, but cannot push or open issues or pull requests.
lets/handlers/apiStatusHandler.py
2018-12-09 00:15:56 -05:00

13 lines
244 B
Python

import json
from common.web import requestsManager
class handler(requestsManager.asyncRequestHandler):
"""
Handler for /api/v1/status
"""
def asyncGet(self):
self.write(json.dumps({"status": 200, "server_status": 1}))
#self.finish()