Adding auto-generated API doc using Django REST Swagger and docstrings to most endpoints.
To access the API startup as normal and open http://localhost:8000 in the browser.
To see restricted endpoints, i.e. more than just GET, you need to authenticate via Swagger. To do this
Log in using the "/api/v1/rest-auth/login/" endpoint, either using Postman or Swaggers "Try it out!" functionality.
Copy the key in the response, e.g. "fe51f25eb24e4569de21a89241ad64a2155009b8".
Use it to authenticate yourselves using "Token fe51f25eb24e4569de21a89241ad64a2155009b8".
You should now have viewing access to all endpoints.
Status
Ready
Description
Adding auto-generated API doc using Django REST Swagger and docstrings to most endpoints. To access the API startup as normal and open http://localhost:8000 in the browser. To see restricted endpoints, i.e. more than just GET, you need to authenticate via Swagger. To do this
You should now have viewing access to all endpoints.
Dependencies