diff options
author | 2018-12-09 19:27:32 +0100 | |
---|---|---|
committer | 2018-12-09 19:27:32 +0100 | |
commit | 8b7c4e55dcede6732e30cca1a19e7e99391ceedb (patch) | |
tree | 1867912cf613498a4ca56fe3a0ef8660876157e3 /api/viewsets.py | |
parent | Bump minimum DRF version to `3.9.0`. (diff) | |
parent | Fixed merge conflicts (diff) |
Merge pull request #156 from python-discord/django-beautify
Django - API Corrections
Diffstat (limited to 'api/viewsets.py')
-rw-r--r-- | api/viewsets.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/viewsets.py b/api/viewsets.py index 2784bbad..aa5d5fd3 100644 --- a/api/viewsets.py +++ b/api/viewsets.py @@ -506,7 +506,7 @@ class TagViewSet(ModelViewSet): - 201: returned on success - 400: if one of the given fields is invalid - ### PUT /bot/members/<title:str> + ### PUT /bot/tags/<title:str> Update the tag with the given `title`. #### Request body @@ -524,7 +524,7 @@ class TagViewSet(ModelViewSet): - 400: if the request body was invalid, see response body for details - 404: if the tag with the given `title` could not be found - ### PATCH /bot/members/<title:str> + ### PATCH /bot/tags/<title:str> Update the tag with the given `title`. #### Request body @@ -542,7 +542,7 @@ class TagViewSet(ModelViewSet): - 400: if the request body was invalid, see response body for details - 404: if the tag with the given `title` could not be found - ### DELETE /bot/members/<title:str> + ### DELETE /bot/tags/<title:str> Deletes the tag with the given `title`. #### Status codes |