RESTful and HTTP APIs in Pyramid Transcripts
Chapter: Conclusion
Lecture: Lightning review: Docs

Login or purchase this course to watch this video and the rest of the course contents.
0:01 Alright, the last thing we did after everything was up and running,
0:03 we said, well if this is something public we should add some documentation
0:06 and we could add that documentation somewhere else,
0:09 or we could implement it and run it right in our web app.
0:12 So we added a /docs section, and this decent look
0:16 and little documentation for the various things,
0:19 so if we want to get all the autos, we're going to do a get to api/autos,
0:22 if we want to create a car we'll do a post to /api/autos,
0:27 and we'll pass that body we say there,
0:29 and you'll see the response type and so on.
0:31 So, because we only have a few endpoints and a few options
0:34 documenting inside our app seemed like a really decent choice,
0:37 if you have a really complicated one,
0:39 we talked about other options as well in that section.