mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
Merge pull request #12135 from nextcloud/feat/dev/oc-checksum-algorithms
This commit is contained in:
@@ -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`` |
|
||||
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
|
||||
@@ -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: | |
|
||||
|
||||
Reference in New Issue
Block a user