add some information to the API root

This commit is contained in:
Laura Klünder 2017-11-29 11:13:13 +01:00
parent 8f3fd001fe
commit f73d016826

View file

@ -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):