1
0
mirror of https://github.com/enpaul/kodak.git synced 2024-09-21 16:23:49 +00:00
kodak/imagemonk/resources/image.py

27 lines
498 B
Python

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