mirror of
https://github.com/nextcloud/documentation.git
synced 2026-03-27 13:38:39 +07:00
docs: add documentation for OC-OwnerId and OC-Permissions headers (#13525)
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4219f58a4c
commit
241b4c48c9
@@ -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`` |
|
||||
+-------------------+-----------------------------------------------+-----------------------------------------+
|
||||
|| 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. || |
|
||||
+-------------------+-----------------------------------------------+-----------------------------------------+
|
||||
|
||||
Reference in New Issue
Block a user