2020-09-21 23:36:07 +00:00
|
|
|
from imagemonk.resources._shared import ImageMonkResource
|
2020-09-18 02:22:24 +00:00
|
|
|
|
|
|
|
|
2020-09-21 23:36:07 +00:00
|
|
|
class ImageUpload(ImageMonkResource):
|
2020-09-18 02:22:24 +00:00
|
|
|
|
2020-09-21 23:36:07 +00:00
|
|
|
route = ("/image/",)
|
2020-09-18 02:22:24 +00:00
|
|
|
|
2020-09-21 23:36:07 +00:00
|
|
|
def post(self):
|
2020-09-18 02:22:24 +00:00
|
|
|
raise NotImplementedError
|
|
|
|
|
|
|
|
|
2020-09-21 23:36:07 +00:00
|
|
|
class Image(ImageMonkResource):
|
2020-09-18 02:22:24 +00:00
|
|
|
|
2020-09-21 23:36:07 +00:00
|
|
|
route = ("/image/<string:image_id>.jpg",)
|
2020-09-18 02:22:24 +00:00
|
|
|
|
|
|
|
def get(self, image_id: str):
|
|
|
|
raise NotImplementedError
|
|
|
|
|
|
|
|
def delete(self, image_id: str):
|
|
|
|
raise NotImplementedError
|