Skip to content

Commit 10ce666

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

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+
|| 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+
+-----------------+-----------------------------------------------+-----------------------------------------+

0 commit comments

Comments
 (0)