mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
add contained-folder-count and contained-file-count optional webdav properties
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
This commit is contained in:
parent
c3c1525eb5
commit
ce98ade558
@ -71,6 +71,8 @@ You can request additional properties by sending a request body with the :code:`
|
||||
<oc:comments-unread />
|
||||
<oc:owner-display-name />
|
||||
<oc:share-types />
|
||||
<nc:contained-folder-count />
|
||||
<nc:contained-file-count />
|
||||
</d:prop>
|
||||
</d:propfind>
|
||||
|
||||
@ -94,6 +96,8 @@ The following properties are supported:
|
||||
- :code:`{http://nextcloud.org/ns}has-preview`
|
||||
- :code:`{http://owncloud.org/ns}size` Unlike :code:`getcontentlength`, this property also works for folders reporting the size of everything in the folder.
|
||||
- :code:`{http://nextcloud.org/ns}rich-workspace` this property is provided by the text app
|
||||
- :code:`{http://nextcloud.org/ns}contained-folder-count` The number of folders directly contained in the folder (not recursively)
|
||||
- :code:`{http://nextcloud.org/ns}contained-file-count` The number of files directly contained in the folder (not recursively)
|
||||
|
||||
Getting properties for just the folder
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Loading…
Reference in New Issue
Block a user