add api stub for https://hyde.infosys.tuwien.ac.at/aic20/g4t2/-/issues/16;
This commit is contained in:
@@ -48,6 +48,12 @@ class ImageEndpoint:
|
||||
logger.debug('Image GET single call: {}'.format(request))
|
||||
return ImageEndpoint.get_image(identifier)
|
||||
|
||||
@staticmethod
|
||||
@api_view(['GET'])
|
||||
def image_api_get_status(request, identifier):
|
||||
# TODO MARTIN
|
||||
return JsonResponse({'valid': True, 'available': True})
|
||||
|
||||
@staticmethod
|
||||
def get_image(identifier):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user