Skip to content

Commit

Permalink
Merge pull request #12135 from nextcloud/feat/dev/oc-checksum-algorithms
Browse files Browse the repository at this point in the history
  • Loading branch information
provokateurin authored Aug 28, 2024
2 parents 8041267 + bce0697 commit 145eb45
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion developer_manual/client_apis/WebDAV/basic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,10 @@ Supported properties
| | | | ``<nc:type>0</nc:type>`` |
| | | | ``</nc:sharee>`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <oc:checksums /> | An array of checksums. | ``<oc:checksum>md5:04c36b75222cd9fd47f2607333029106</oc:checksum>`` |
| <oc:checksums /> | An array of checksums stored in the DB by other | ``<oc:checksum>md5:04c36b75222cd9fd47f2607333029106</oc:checksum>`` |
| | clients. | |
| | Currently used algorithms are ``MD5``, ``SHA1``,| |
| | ``SHA256``, ``SHA3-256``, ``Adler32``. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:has-preview /> | Whether a preview of the file is available. | ``true`` or ``false`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
Expand Down Expand Up @@ -463,6 +466,8 @@ You can set some special headers that Nextcloud will interpret.
+-----------------+-----------------------------------------------------------------+------------------------------------------+
| OC-Checksum | | A checksum that will be stored in the DB. | ``md5:04c36b75222cd9fd47f2607333029106`` |
| | | The server will not do any sort of validation. | |
| | | Currently used algorithms are ``MD5``, ``SHA1``, ``SHA256``, | |
| | | ``SHA3-256``, ``Adler32``. | |
+-----------------+-----------------------------------------------------------------+------------------------------------------+
| X-Hash | | Allow to request the file's hash from the server. | ``md5``, ``sha1``, or ``sha256`` |
| | | The server will return the hash in a header named either: | |
Expand Down

0 comments on commit 145eb45

Please sign in to comment.