Labs/Bespin/ServerAPI: Difference between revisions

Jump to navigation Jump to search
→‎Editing: disambiguating the PUT /edit/ with /at/ just like we did with /file/
(→‎Files: disambiguate URLs by making file manipulations under /at/)
(→‎Editing: disambiguating the PUT /edit/ with /at/ just like we did with /file/)
Line 16: Line 16:
* GET /edit/list/[path] gives a JSON list of edit actions from the last save to the current edit pointer.  
* GET /edit/list/[path] gives a JSON list of edit actions from the last save to the current edit pointer.  
* GET /edit/recent/N/[path] gives a JSON list of edit actions, starting after N. edit/recent/1 would skip the first entry.  
* GET /edit/recent/N/[path] gives a JSON list of edit actions, starting after N. edit/recent/1 would skip the first entry.  
* PUT /edit/[path], with the serialized JSON object representing the action as the PUT body. (you can start sending do's before your first save.)
* PUT /edit/at/[path], with the serialized JSON object representing the action as the PUT body. (you can start sending do's before your first save.)
* GET /edit/reset/ blows away all edits
* GET /edit/reset/ blows away all edits
* GET /edit/reset/[path] blows away edits for a specific path
* GET /edit/reset/[path] blows away edits for a specific path
canmove, Confirmed users, Bureaucrats and Sysops emeriti
1,093

edits

Navigation menu