Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
docs: add documentation for OC-OwnerId and OC-Permissions headers
Signed-off-by: Salvatore Martire <[email protected]>
  • Loading branch information
salmart-dev authored and rakekniven committed Aug 26, 2025
commit 10ce6662eb4e20040ac2184f72b4adac2106f98e
24 changes: 15 additions & 9 deletions developer_manual/client_apis/WebDAV/basic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -550,12 +550,18 @@ You can set some special headers that Nextcloud will interpret.
Response Headers
----------------

+-----------+------------------------------------------------+-----------------------------------------+
| Header | Description | Example |
+===========+================================================+=========================================+
| OC-Etag | | On creation, move and copy, | ``"50ef2eba7b74aa84feff013efee2a5ef"`` |
| | | the response contain the etag of the file. | |
+-----------+------------------------------------------------+-----------------------------------------+
| OC-FileId | | On creation, move and copy, | | Format: ``<padded-id><instance-id>``. |
| | | the response contain the fileid of the file. | | Example: ``00000259oczn5x60nrdu`` |
+-----------+------------------------------------------------+-----------------------------------------+
+-----------------+-----------------------------------------------+-----------------------------------------+
| Header | Description | Example |
+=================+===============================================+=========================================+
|| OC-Etag || On creation, move and copy, || ``"50ef2eba7b74aa84feff013efee2a5ef"`` |
|| || the response contain the etag of the file. || |
+-----------------+-----------------------------------------------+-----------------------------------------+
|| OC-FileId || On creation, move and copy, || Format: ``<padded-id><instance-id>``. |
|| || the response contain the fileid of the file. || Example: ``00000259oczn5x60nrdu`` |
+-----------------+-----------------------------------------------+-----------------------------------------+
|| OC-OwnerId || On creation, the response contains the owner || Example: ``admin`` |
|| || ID. || |
+-----------------+-----------------------------------------------+-----------------------------------------+
|| OC-Permissions || On creation, the response contains the || Example: ``RGDNVW`` |
|| || permissions string. || |
+-----------------+-----------------------------------------------+-----------------------------------------+