From 778d780471cf751cb7d75a957a6a8ca8a7437eab Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Wed, 3 May 2023 18:10:29 +0200 Subject: [PATCH] Add more examples Signed-off-by: Louis Chemineau --- developer_manual/client_apis/WebDAV/basic.rst | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/developer_manual/client_apis/WebDAV/basic.rst b/developer_manual/client_apis/WebDAV/basic.rst index 61fb58892..795e50d55 100644 --- a/developer_manual/client_apis/WebDAV/basic.rst +++ b/developer_manual/client_apis/WebDAV/basic.rst @@ -147,7 +147,7 @@ Supported properties +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ | | Specifies the nature of the resource. | ```` for a folder | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ -| | The size if it is a file. | ``3030237`` | +| | The size if it is a file in octets. | ``3030237`` | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ | | The language of the content. | ``en`` | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ @@ -166,12 +166,13 @@ Supported properties | | | | | ```` | | | | | | ```` | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ -| | | The fileid namespaced by the instance id. | | +| | | The fileid namespaced by the instance id. | ``00000007oc9l3j5ur4db`` | | | | Globally unique. | | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ -| | The unique id for the file within the instance. | | +| | The unique id for the file within the instance. | ``7`` | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ -| | The URL to download the file. | | +| | | A URL to directly download the file from a | | +| | | storage. No storeage implements that yet. | | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ | | | The permissions that the user has over the | | ``S``: Shared | | | | file. The value is a string containing | | ``R``: Shareable | @@ -182,7 +183,7 @@ Supported properties | | | | ``W``: Updateable (file) | | | | | ``CK``: Creatable | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ -| | Same as ``creationdate``, but as a timestamp. | ``1675789581`` | +| | Same as ``creationdate``, but as a timestamp. | ``1675789581`` | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ | | The type of mount. | | ``''`` = local | | | | | ``'shared'`` = received share | @@ -198,15 +199,15 @@ Supported properties | | The favorite state. | | ``0`` for not favourited | | | | | ``1`` for favourited | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ -| | The DAV endpoint to fetch the comments. | | +| | The DAV endpoint to fetch the comments. | ``/remote.php/dav/comments/files/{fileId}`` | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ -| | The number of comments. | | +| | The number of comments. | ``2`` | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ -| | The number of unread comments. | | +| | The number of unread comments. | ``0`` | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ -| | The user id of the owner of a shared file. | | +| | The user id of the owner of a shared file. | ``alice`` | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ -| | The display name of the owner of a shared file. | | +| | The display name of the owner of a shared file. | ``Alice`` | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ | | XML array of share types. | | ``{shareTypeId}`` | | | | | ``0`` = User | @@ -243,10 +244,9 @@ Supported properties +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ | | Whether a preview of the file is available. | ``true`` or ``false`` | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ -| | | Unlike ``getcontentlength``, | | -| | | this property also works | | -| | | for folders, reporting the size | | -| | | of everything in the folder. | | +| | | Unlike ``getcontentlength``, this property | ``127815235`` | +| | | also works for folders, reporting the size of | | +| | | everything in the folder. Size is in octets. | | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ | | Amount of bytes used in the folder. | ``3950773`` | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ @@ -284,7 +284,7 @@ Supported properties | | | | ``15`` | | | | | ```` | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ -| | Array of ACL rules from the parents folders | | +| | Array of ACL rules from the parents folders | See | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+ | | Numerical id of that group folder. | ``1`` | +-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+