IW4M-Admin/Master/master/routes.py
2018-04-18 15:46:53 -05:00

10 lines
312 B
Python

from master import api
from master.resources.null import Null
from master.resources.instance import Instance
from master.resources.authenticate import Authenticate
api.add_resource(Null, '/null')
api.add_resource(Instance, '/instance/', '/instance/<string:id>')
api.add_resource(Authenticate, '/authenticate')