Skip to content

Commit 241b4c4

Browse files
authored
docs: add documentation for OC-OwnerId and OC-Permissions headers (#13525)
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
1 parent 4219f58 commit 241b4c4

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

developer_manual/client_apis/WebDAV/basic.rst

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -550,12 +550,18 @@ You can set some special headers that Nextcloud will interpret.
550550
Response Headers
551551
----------------
552552
553-
+-----------+------------------------------------------------+-----------------------------------------+
554-
| Header | Description | Example |
555-
+===========+================================================+=========================================+
556-
| OC-Etag | | On creation, move and copy, | ``"50ef2eba7b74aa84feff013efee2a5ef"`` |
557-
| | | the response contain the etag of the file. | |
558-
+-----------+------------------------------------------------+-----------------------------------------+
559-
| OC-FileId | | On creation, move and copy, | | Format: ``<padded-id><instance-id>``. |
560-
| | | the response contain the fileid of the file. | | Example: ``00000259oczn5x60nrdu`` |
561-
+-----------+------------------------------------------------+-----------------------------------------+
553+
+-------------------+-----------------------------------------------+-----------------------------------------+
554+
| Header | Description | Example |
555+
+===================+===============================================+=========================================+
556+
|| OC-Etag || On creation, move and copy, || ``"50ef2eba7b74aa84feff013efee2a5ef"`` |
557+
|| || the response contain the etag of the file. || |
558+
+-------------------+-----------------------------------------------+-----------------------------------------+
559+
|| OC-FileId || On creation, move and copy, || Format: ``<padded-id><instance-id>``. |
560+
|| || the response contain the fileid of the file. || Example: ``00000259oczn5x60nrdu`` |
561+
+-------------------+-----------------------------------------------+-----------------------------------------+
562+
|| X-NC-OwnerId || On creation, the response contains the owner || Example: ``admin`` |
563+
|| || ID. || |
564+
+-------------------+-----------------------------------------------+-----------------------------------------+
565+
|| X-NC-Permissions || On creation, the response contains the || Example: ``RGDNVW`` |
566+
|| || permissions string. || |
567+
+-------------------+-----------------------------------------------+-----------------------------------------+

0 commit comments

Comments
 (0)