Island: Create new resource `Configuration`

This commit is contained in:
Shreya Malviya 2022-06-20 15:25:36 -07:00
parent 1f00a13649
commit 7a28ba4c4d
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
from monkey_island.cc.resources.AbstractResource import AbstractResource
from monkey_island.cc.resources.request_authentication import jwt_required
class Configuration(AbstractResource):
urls = ["/api/configuration"]
@jwt_required
def get(self):
pass
@jwt_required
def post(self):
pass
@jwt_required
def patch(self): # reset the config here?
pass