Labs/Bespin/ServerAPI: Difference between revisions

Line 10: Line 10:
* POST (or GET) /register/login/username returns a JSON object with a "project" attribute that gives the key for a user's private files project.
* POST (or GET) /register/login/username returns a JSON object with a "project" attribute that gives the key for a user's private files project.
* POST (or GET) /register/logout/  
* POST (or GET) /register/logout/  
* GET /register/username for debugging, it will tell you who it thinks you are logged in as
* GET /register/userinfo/ for debugging, it will tell you who it thinks you are logged in as and will also give you the name of the user project (this is in JSON format)


== Editing ==
== Editing ==
canmove, Confirmed users, Bureaucrats and Sysops emeriti
1,093

edits