f750caf0b20c8dbe2724089cc0e249e4c3bd5f5f
[citadel.git] / webcit-ng / api.txt
1
2 Method          URI                             Function
3 ------          ------------------------------  -------------------------------------
4 GET             /ctdl/a/landing.html            Site root redirects to here
5 OPTIONS         /ctdl/r/ROOMNAME/               returns just what you'd expect
6 PROPFIND        /ctdl/r/ROOMNAME/               Show a bunch of crap
7 GET             /ctdl/r/ROOMNAME/               Returns information about the room (name, view, etc.) in JSON format
8 GET             /ctdl/r/ROOMNAME/msgs.all       JSON array of message list in room
9 GET             /ctdl/r/ROOMNAME/msgs.new       JSON array of message list in room (new messages)
10 GET             /ctdl/c/info                    Returns a JSON representation of the output of an INFO server command
11 POST            /ctdl/a/login
12 GET             /ctdl/a/whoami