Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
empty dir list return
Browse files Browse the repository at this point in the history
  • Loading branch information
rahit committed Sep 5, 2017
1 parent de44d79 commit ed3e55f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion interface/backend/api/urls.py
Expand Up @@ -20,6 +20,6 @@

urlpatterns = [
url(r'^', include(router.urls)),
url(r'^images/available$', ImageAvailableApiView.as_view()),
url(r'^images/available$', ImageAvailableApiView.as_view(), name='image-available'),
url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework'))
]
4 changes: 3 additions & 1 deletion interface/backend/api/views.py
Expand Up @@ -7,6 +7,7 @@
Nodule,
)
from rest_framework.views import APIView
from rest_framework.response import Response
from backend.images.models import ImageSeries


Expand Down Expand Up @@ -37,5 +38,6 @@ class ImageAvailableApiView(APIView):
def get(self, request):
"""
Return a list of files and folders in dataset
TODO implement directory retrieval method
"""
pass
return Response([])

0 comments on commit ed3e55f

Please sign in to comment.