canmove, Confirmed users, Bureaucrats and Sysops emeriti
1,093
edits
m (BespinServerAPI moved to Labs/Bespin/ServerAPI) |
No edit summary |
||
Line 30: | Line 30: | ||
* POST /file/close/[path] to mark the file closed. The server will discard your edit history. | * POST /file/close/[path] to mark the file closed. The server will discard your edit history. | ||
* GET /file/listopen/ to list open files for the current user. a JSON dictionary of <tt>{ project: { filename: mode } }</tt> will be returned. For example, if subdir1/subdir2/test.py is open read/write, openfiles will return <tt>{ "subdir1": { "somedir2/test.py": "rw" } }</tt> | * GET /file/listopen/ to list open files for the current user. a JSON dictionary of <tt>{ project: { filename: mode } }</tt> will be returned. For example, if subdir1/subdir2/test.py is open read/write, openfiles will return <tt>{ "subdir1": { "somedir2/test.py": "rw" } }</tt> | ||
== Projects == | |||
* GET /project/info/[projectname]/ - returns a JSON dictionary with "owner" and "members" (the people authorized to work on the project) | |||
* POST /project/authorized/[projectname]/[username] - authorize username to access the project (only the project owner can do this) | |||
* DELETE /project/authorized/[projectname]/[username] - remove username's access to the project (only the project owner can do this) | |||
== Settings == | == Settings == |