|
|
|
@ -2,6 +2,7 @@ from flask_restful import abort, Resource
|
|
|
|
|
from flask import request, make_response
|
|
|
|
|
import validators
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
|
|
|
|
|
|
|
|
|
|
class Watch(Resource):
|
|
|
|
@ -35,6 +36,7 @@ class Watch(Resource):
|
|
|
|
|
self.datastore.delete(uuid)
|
|
|
|
|
return 'OK', 204
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class WatchHistory(Resource):
|
|
|
|
|
def __init__(self, **kwargs):
|
|
|
|
|
# datastore is a black box dependency
|
|
|
|
|