~/talk

Building Better Web APIs

Talkat PyCon Australia 2014 · 2014-08-01..08-05· [api-design, web-platform]
name:HawkOwl
links:none on file
slides:none on file

Advocates explicit API versioning and prefers explicit URI versioning over header schemes, demonstrates a small framework called Hadock proof of concept built on Twisted web that supports versioned endpoints and JSON Schema validation, recommends validating input and output and using JSON Schema or Django REST Framework tooling, explores HMAC signature auth and HTTP 100-continue optimisations, and notes Django REST Framework v3 funding adds integrated versioning.

AI-written summary · about

  1. 0:00Start
  2. 2:04Implement once, access anywhere
  3. 3:39Web 3.0 The Internet Of Things
  4. 5:11The Benefits
  5. 5:30Who are our users?
  6. 6:47Explicit versions are essential for stability
  7. 7:08Provide API Pinning
  8. 7:53Your version should be in your API's URI
  9. 9:14Different versions have different responses and resource layout
  10. 9:48Resources, not functions
  11. 11:04REST is best
  12. 11:16POST is resource specific (RFC 7231)
  13. 11:45Do what makes sense, be pragmatic!
  14. 11:56But just in case, document it anyway
  15. 12:11Document side-effects
  16. 12:39Don't be afraid to copy good documentation styles
  17. 14:32Validation is great
  18. 15:32Django REST Framework: Use typed fields
  19. 16:14Speed
  20. 17:31Stateless workers for better scaling
  21. 18:20Saratoga
  22. 18:54Tool Improvements
  23. 19:06Versioning
  24. 20:37Testing
  25. 21:10Authentication Methods
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.