This commit is contained in:
Marco Zeisler
2021-01-18 20:55:17 +01:00
parent 3f6cfe18a2
commit d770f1e092
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -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):