Labs/Bespin/ServerAPI: Difference between revisions

Line 34: Line 34:
* GET /settings/ to list all settings for currently logged in user as json dict  
* GET /settings/ to list all settings for currently logged in user as json dict  
* GET /settings/[setting] to get the value for a single setting as json string  
* GET /settings/[setting] to get the value for a single setting as json string  
* POST /settings/ with HTTP POST DATA key=value to set the value for a single setting (all values are strings)  
* POST /settings/ with HTTP POST DATA (in standard form post syntax) to set the value for a collection of settings (all values are strings)  
* DELETE /settings/[setting] to delete a single setting
* DELETE /settings/[setting] to delete a single setting
canmove, Confirmed users, Bureaucrats and Sysops emeriti
1,093

edits