[commits] [Wiki] changed: Doc/Dev/DAV/DeveloperNotes

Ralf Lang (B1 Systems GmbH) lang at b1-systems.de
Thu Jan 10 11:52:44 UTC 2019


rlang  Thu, 10 Jan 2019 11:52:44 +0000

Modified page: https://wiki.horde.org/Doc/Dev/DAV/DeveloperNotes
New Revision:  2
Change log:  WebDAV api

@@ -42,9 +42,21 @@
  ++ WebDAV

  Generic WebDAV can be implemented by any app.
  It is exposed as rpc/$appname/ in the tree. Note how it uses the  
internal app name, not the name of a registry interface.
-An app needs to implement the following methods to expose WebDAV  
folders and files:
+An app needs to implement the following API methods to expose WebDAV  
folders and files:


+$App_Api::browse($path, $properties)
+
+returns a list of next level nodes relative to the path (files and  
collections)
+
+$App_Api::put($path, $content, $contentType)
+
+to support writing files
+
+path_delete($path) to delete either files or collections
+
+The app implementing these methods does not need to deal with any of  
the Horde_Dav related objects as Horde_Rpc_WebDAV and Horde_Dav handle  
these aspects.
+However, if the same resources are also exposed via CalDAV/CardDAV  
Api, it might create inconsistency if a resource is created or deleted  
without Horde_Dav knowing.

  ++ Notes on *dav lingo and principles



More information about the commits mailing list