IW4M-Admin/Master/master/routes.py

11 lines
394 B
Python
Raw Normal View History

2018-04-18 16:46:53 -04:00
from master import api
from master.resources.null import Null
from master.resources.instance import Instance
from master.resources.authenticate import Authenticate
from master.resources.version import Version
2018-04-18 16:46:53 -04:00
api.add_resource(Null, '/null')
api.add_resource(Instance, '/instance/', '/instance/<string:id>')
api.add_resource(Version, '/version')
2018-04-18 16:46:53 -04:00
api.add_resource(Authenticate, '/authenticate')