From 881ee4eda7d9d2692f7211b00b1e7dc52774e675 Mon Sep 17 00:00:00 2001 From: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com> Date: Thu, 21 Aug 2025 10:57:23 +0200 Subject: [PATCH] docs: add documentation for OC-OwnerId and OC-Permissions headers Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com> --- developer_manual/client_apis/WebDAV/basic.rst | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/developer_manual/client_apis/WebDAV/basic.rst b/developer_manual/client_apis/WebDAV/basic.rst index 2ff6a1934ab..2da5e5a51bb 100644 --- a/developer_manual/client_apis/WebDAV/basic.rst +++ b/developer_manual/client_apis/WebDAV/basic.rst @@ -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: ````. | -| | | 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: ````. | +|| || the response contain the fileid of the file. || Example: ``00000259oczn5x60nrdu`` | ++-------------------+-----------------------------------------------+-----------------------------------------+ +|| X-NC-OwnerId || On creation, the response contains the owner || Example: ``admin`` | +|| || ID. || | ++-------------------+-----------------------------------------------+-----------------------------------------+ +|| X-NC-Permissions || On creation, the response contains the || Example: ``RGDNVW`` | +|| || permissions string. || | ++-------------------+-----------------------------------------------+-----------------------------------------+