]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/api.txt
view_mail.js: removed the is_quoted parameter.
[citadel.git] / webcit-ng / api.txt
index 5336667486fea79312d0878b526cec50267c2860..35de78ef313e60d70aebe3a495019c78762438fb 100644 (file)
@@ -19,7 +19,7 @@ MOVE            /ctdl/r/<roomname>/<msgnum>        Moves a message to another ro
 
 PUT             /ctdl/r/<roomname>/<xxx>           DAV operation to insert a new message into a room
                 Accepted parameters:
-                wefw List of message references
+                wefw List of message references, separated by "!" delimiter
                 subj Message subject
                 The returned ETag will be the new message number.
 
@@ -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