1
0
mirror of https://github.com/enpaul/kodak.git synced 2025-06-07 07:13:28 +00:00

27 lines
498 B
Python
Raw Normal View History

import flask_restful
class ImageUpload(flask_restful.Resource):
route = "/image/"
def put(self):
raise NotImplementedError
def options(self):
raise NotImplementedError
class Image(flask_restful.Resource):
route = "/image/<string:image_id>.jpg"
def get(self, image_id: str):
raise NotImplementedError
def delete(self, image_id: str):
raise NotImplementedError
def options(self, image_id: str):
raise NotImplementedError