X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit-ng%2Fapi.txt;h=dc5ebc00d9100152720fa27479b0bfadb505b6ac;hp=4621f9bec94d1d02263eceb3a64e2efc26de81a4;hb=acb889b256303945ce8155849822c3e4d1f22d79;hpb=f35d620e8b0acf2db8b57ebd2ddaf3d01516ed58 diff --git a/webcit-ng/api.txt b/webcit-ng/api.txt index 4621f9bec..dc5ebc00d 100644 --- a/webcit-ng/api.txt +++ b/webcit-ng/api.txt @@ -9,6 +9,6 @@ GET /ctdl/r/ROOMNAME/ Returns information about the room (name, view, etc.) in GET /ctdl/r/ROOMNAME/msgs.all JSON array of message list in room GET /ctdl/r/ROOMNAME/msgs.new JSON array of message list in room (new messages) GET /ctdl/c/info Returns a JSON representation of the output of an INFO server command -POST /ctdl/a/login +POST /ctdl/a/login Send it a your credentials and it will log you in GET /ctdl/a/whoami GET /ctdl/u/USERNAME/userpic Returns an image containing the photo/avatar of the specified user