You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: developer_manual/client_apis/WebDAV/basic.rst
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ WebDAV basics
12
12
13
13
The base url for all WebDAV operations for a Nextcloud instance is :code:`/remote.php/dav`.
14
14
15
-
All requests need to provide authentication information, either as a Basic Auth header or by passing a set of valid session cookies.
15
+
All requests need to provide authentication information, either as a Basic Auth header or by passing a set of valid session cookies.
16
16
17
17
If your Nextcloud installation uses an external auth provider (such as an OIDC server) you may have to create an app password. To do that browse to your user Settings > Security and create one. It will provide a username and password which you can use within the Basic Auth header.
18
18
@@ -73,6 +73,8 @@ You can request additional properties by sending a request body with the :code:`
73
73
<oc:comments-unread />
74
74
<oc:owner-display-name />
75
75
<oc:share-types />
76
+
<nc:contained-folder-count />
77
+
<nc:contained-file-count />
76
78
</d:prop>
77
79
</d:propfind>
78
80
@@ -96,6 +98,8 @@ The following properties are supported:
96
98
- :code:`{http://nextcloud.org/ns}has-preview`
97
99
- :code:`{http://owncloud.org/ns}size` Unlike :code:`getcontentlength`, this property also works for folders reporting the size of everything in the folder.
98
100
- :code:`{http://nextcloud.org/ns}rich-workspace` this property is provided by the text app
101
+
- :code:`{http://nextcloud.org/ns}contained-folder-count` The number of folders directly contained in the folder (not recursively)
102
+
- :code:`{http://nextcloud.org/ns}contained-file-count` The number of files directly contained in the folder (not recursively)
0 commit comments