This aims to document the Bespin server API. It is taken from the original Python prototype server and has been updated for the subsequent Java server.
Errors
- "You're not logged in, and this request requires you to be" errors will be HTTP 401 status codes
- Other errors will be HTTP 400, with an explanation string
Authentication
- POST (or GET) /register/login/username -- no password necessary
- POST (or GET) /register/logout/
- GET /register/ for debugging, it will tell you who it thinks you are logged in as