-GET /ctdl/r/ROOMNAME/MSGNUM/json Retrieve an individual message in a room, encapsulated in JSON
-GET /ctdl/c/info Returns a JSON representation of the output of an INFO server command
-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
-GET /ctdl/s/ Static content (html, css, js, images...)
-GET /.well-known/ Static content (RFC5785 compliant paths)
+GET /ctdl/r/<roomname>/slrp Set the "Last Read Pointer" for the room
+ Accepted parameters:
+ last The number of the most recently seen message
+
+GET /ctdl/c/info Returns a JSON representation of the output of an INFO server command
+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
+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
+ The JSON returned wil contain one or more uploads in an array like this:
+ [
+ {
+ "uploadfilename" : "Track 01.wav",
+ "contenttype" : "audio/wav",
+ "ref" : "cdarzowkk",
+ "contentlength" : 56222252
+ }
+ ]
+GET /ctdl/p/<ref> Fetch a specific item that was uploaded ("ref" was returned by the upload)
+DELETE /ctdl/p/<ref> Delete a specific item that was uploaded ("ref" was returned by the upload)
+GET /ctdl/p/<msgnum> Load the attachments from message <msgnum> in, as if they were uploaded
+ by the client. Returns the same JSON as "POST /ctdl/p".