1
0
mirror of https://github.com/enpaul/kodak.git synced 2024-11-14 02:27:24 +00:00
kodak/imagemonk/resources/image.py

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