]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/api.txt
Various operations in the /ctdl/p/ hierarchy to handle uploading of attachments
[citadel.git] / webcit-ng / api.txt
index 992a30f3e2c7fd9c4f17d33a13515616a55d16dc..189818ef6cd105b9d7fe6305ed02662658e813c1 100644 (file)
@@ -34,4 +34,6 @@ GET             /ctdl/a/biff                       Check for new mail
 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
+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