forked from p15670423/monkey
Island: Create new resource `Configuration`
This commit is contained in:
parent
1f00a13649
commit
7a28ba4c4d
|
@ -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
|
Loading…
Reference in New Issue