]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/api.txt
room_functions.c: remove diagnostic hex dump of recipient field
[citadel.git] / webcit-ng / api.txt
index 5336667486fea79312d0878b526cec50267c2860..189818ef6cd105b9d7fe6305ed02662658e813c1 100644 (file)
@@ -31,7 +31,9 @@ GET             /ctdl/c/info                       Returns a JSON representation
 POST            /ctdl/a/login                      Send it a your credentials and it will log you in
 GET             /ctdl/a/whoami
 GET             /ctdl/a/biff                       Check for new mail
-POST            /ctdl/a/upload                     Handler for uploading attachments and other file items
 GET             /ctdl/u/<username>/userpic         Returns an image containing the photo/avatar of the specified user
 GET             /ctdl/s/                           Static content (html, css, js, images...)
 GET             /.well-known/                      Static content (RFC5785 compliant paths)
+POST            /ctdl/p                            Handler for uploading attachments and other file items
+GET             /ctdl/p/<id>                       Fetch a specific item that was uploaded
+DELETE          /ctdl/p/<id>                       Delete a specific item that was uploaded