add some information to the API root
This commit is contained in:
parent
8f3fd001fe
commit
f73d016826
1 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,8 @@ router.register(r'changesets', ChangeSetViewSet)
|
|||
class APIRoot(GenericAPIView):
|
||||
"""
|
||||
Welcome to the c3nav RESTful API.
|
||||
The HTML preview is only shown because your Browser sent text/html in it's Accept header.
|
||||
If you want to use this API on a large scale, please use a client that supports E-Tags.
|
||||
"""
|
||||
|
||||
def _format_pattern(self, pattern):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue