Skip to content

Commit

Permalink
Add documentation to repo retrieve
Browse files Browse the repository at this point in the history
This actioin was added when repos got identifiers. It was not
documented, though.

PDC-1071
  • Loading branch information
lubomir committed Oct 13, 2015
1 parent 27f89b9 commit 5f199a8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pdc/apps/repository/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,18 @@ def create(self, *args, **kwargs):
"""
return super(RepoViewSet, self).create(*args, **kwargs)

def retrieve(self, *args, **kwargs):
"""
__Method__: `GET`
__URL__: $LINK:repo-detail:id$
__Response__:
%(SERIALIZER)s
"""
return super(RepoViewSet, self).retrieve(*args, **kwargs)

def list(self, *args, **kwargs):
"""
__Method__: `GET`
Expand Down

0 comments on commit 5f199a8

Please sign in to comment.