Skip to content

Commit 306e9ce

Browse files
salmart-devrakekniven
authored andcommitted
fixup! docs: add documentation for OC-OwnerId and OC-Permissions headers
Signed-off-by: Salvatore Martire <[email protected]>
1 parent 10ce666 commit 306e9ce

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

developer_manual/client_apis/WebDAV/basic.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -550,18 +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-
+-----------------+-----------------------------------------------+-----------------------------------------+
562-
|| OC-OwnerId || On creation, the response contains the owner || Example: ``admin`` |
563-
|| || ID. || |
564-
+-----------------+-----------------------------------------------+-----------------------------------------+
565-
|| OC-Permissions || On creation, the response contains the || Example: ``RGDNVW`` |
566-
|| || permissions string. || |
567-
+-----------------+-----------------------------------------------+-----------------------------------------+
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)