X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit-ng%2Fapi.txt;h=8660c8f2ca7d20f17fc0a243d90e3247993fb963;hb=bd435f1cde6721e2173619c881e2af8637c85482;hp=378b5b59a252040d870726ec05ed4fce041270c9;hpb=cb238b3c3c7829b6f8fbf6e425fbdc10d3cc2c71;p=citadel.git diff --git a/webcit-ng/api.txt b/webcit-ng/api.txt index 378b5b59a..8660c8f2c 100644 --- a/webcit-ng/api.txt +++ b/webcit-ng/api.txt @@ -1,7 +1,9 @@ Method URL Function ------ ------------------------------ ------------------------------------- GET / Site root will redirect to a landing page + GET /ctdl/f/ returns a JSON-encoded list of accessible floors + GET /ctdl/r/ returns a JSON-encoded list of accessible rooms OPTIONS /ctdl/r// returns just what you'd expect PROPFIND /ctdl/r// Show a bunch of crap @@ -14,8 +16,8 @@ GET /ctdl/r//stat JSON dictionary of the server GET /ctdl/r// Retrieve the content of an individual message GET /ctdl/r///json Retrieve an individual message in a room, encapsulated in JSON GET /ctdl/r/// Retrieve a MIME component of a message, specified by partnum -DELETE /ctdl/r// Deletes a message from a room -MOVE /ctdl/r// Moves a message to another room (requires Destination) +DELETE /ctdl/r// Delete a message from a room +MOVE /ctdl/r// Move a message to another room (requires Destination) PUT /ctdl/r// DAV operation to insert a new message into a room Accepted parameters: