Merge pull request #10957 from nextcloud/feature/noid/WevDavProperties_file-metadata

Add file-metadata WebDAV properties
This commit is contained in:
Andy Scherzinger
2023-08-15 12:56:42 +02:00
committed by GitHub

View File

@@ -134,179 +134,183 @@ And here is how it should look in your DAV request:
Supported properties
^^^^^^^^^^^^^^^^^^^^
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| Property | Description | Example |
+===============================+=================================================+==========================================================================+
| <d:creationdate /> | The creation date of the node. | ``1970-01-01T00:00:00+00:00`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <d:getlastmodified /> | The latest modification time. | ``Wed, 20 Jul 2022 05:12:23 GMT`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <d:getetag /> | The file's etag. | ``&quot;6436d084d4805&quot;`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <d:getcontenttype /> | The mime type of the file. | ``image/jpeg`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <d:resourcetype /> | Specifies the nature of the resource. | ``<d:collection />`` for a folder |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <d:getcontentlength /> | The size if it is a file in bytes. | ``3030237`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <d:getcontentlanguage /> | The language of the content. | ``en`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <d:displayname /> | A name suitable for presentation. | ``File name`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <d:lockdiscovery /> | | Dummy endpoint for class 2 WebDAV support. | ``<d:lockdiscovery />`` |
| | | Should return the list of lock, but | |
| | | always return an empty response. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <d:supportedlock /> | | Dummy endpoint for class 2 WebDAV support. | | ``<d:lockentry>`` |
| | | Always provide the same lock capabilities. | | ``<d:lockscope><d:exclusive /></d:lockscope>`` |
| | | | | ``<d:locktype><d:write /></d:locktype></d:lockentry>`` |
| | | | | ``</d:lockentry>`` |
| | | | | ``<d:lockentry>`` |
| | | | | ``<d:lockscope><d:shared /></d:lockscope>`` |
| | | | | ``<d:locktype><d:write /></d:locktype>`` |
| | | | | ``</d:lockentry>`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <oc:id /> | | The fileid namespaced by the instance id. | ``00000007oc9l3j5ur4db`` |
| | | Globally unique. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <oc:fileid /> | The unique id for the file within the instance. | ``7`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <oc:downloadURL /> | | A URL to directly download the file from a | |
| | | storage. No storage implements that yet. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <oc:permissions /> | | The permissions that the user has over the | | ``S``: Shared |
| | | file. The value is a string containing | | ``R``: Shareable |
| | | letters for all available permissions. | | ``M``: Mounted |
| | | | ``G``: Readable |
| | | | ``D``: Deletable |
| | | | ``NV``: Updateable, Renameable, Moveable |
| | | | ``W``: Updateable (file) |
| | | | ``CK``: Creatable |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:creation_time /> | Same as ``creationdate``, but as a timestamp. | ``1675789581`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:mount-type /> | The type of mount. | | ``''`` = local |
| | | | ``'shared'`` = received share |
| | | | ``'group'`` = group folder |
| | | | ``'external'`` = external storage |
| | | | ``'external-session'`` = external storage |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:is-encrypted /> | Whether the folder is end-to-end encrypted. | | ``0`` for ``false`` |
| | | | ``1`` for ``true`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <oc:tags /> | List of user specified tags. | ``<oc:tag>test</oc:tag>`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <oc:favorite /> | The favorite state. | | ``0`` for not favourited |
| | | | ``1`` for favourited |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <oc:comments-href /> | The DAV endpoint to fetch the comments. | ``/remote.php/dav/comments/files/{fileId}`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <oc:comments-count /> | The number of comments. | ``2`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <oc:comments-unread /> | The number of unread comments. | ``0`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <oc:owner-id /> | The user id of the owner of a shared file. | ``alice`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <oc:owner-display-name /> | The display name of the owner of a shared file. | ``Alice`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <oc:share-types /> | XML array of share types. | | ``<oc:share-type>{shareTypeId}</oc:share-type>`` |
| | | | ``0`` = User |
| | | | ``1`` = Group |
| | | | ``3`` = Public link |
| | | | ``4`` = Email |
| | | | ``6`` = Federated cloud share |
| | | | ``7`` = Circle |
| | | | ``8`` = Guest |
| | | | ``9`` = Remote group |
| | | | ``10`` = Talk conversation |
| | | | ``12`` = Deck |
| | | | ``15`` = Science mesh |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <ocs:share-permissions /> | | The permissions that the | | ``1`` = Read |
| | | user has over the share. | | ``2`` = Update |
| | | | ``4`` = Create |
| | | | ``8`` = Delete |
| | | | ``16`` = Share |
| | | | ``31`` = All |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <ocm:share-permissions /> | | The permissions that the user has | ``["share", "read", "write"]`` |
| | | over the share as a JSON array. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:share-attributes /> | User set attributes as a JSON array. | ``[{ "scope" => <string>, "key" => <string>, "enabled" => <bool> }]`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:sharees /> | The list of share recipient. | | ``<nc:sharee>`` |
| | | | ``<nc:id>alice</nc:id>`` |
| | | | ``<nc:display-name>Alice</nc:display-name>`` |
| | | | ``<nc:type>0</nc:type>`` |
| | | | ``</nc:sharee>`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <oc:checksums /> | An array of checksums. | ``<oc:checksum>md5:04c36b75222cd9fd47f2607333029106</oc:checksum>`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:has-preview /> | Whether a preview of the file is available. | ``true`` or ``false`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <oc:size /> | | Unlike ``getcontentlength``, this property | ``127815235`` |
| | | also works for folders, reporting the size of | |
| | | everything in the folder. Size is in bytes. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <oc:quota-used-bytes /> | Amount of bytes used in the folder. | ``3950773`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <oc:quota-available-bytes /> | Amount of available bytes in the folder. | | ``3950773`` |
| | | | ``-1`` Uncomputed free space. |
| | | | ``-2`` Unknown free space. |
| | | | ``-3`` Unlimited free space. |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:rich-workspace-file /> | The id of the workspace file. | `3456` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:rich-workspace /> | The content of the workspace file. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:upload_time /> | Date this file was uploaded. | ``1675789581`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:note /> | Share note. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:contained-folder-count /> | | The number of folders directly contained | |
| | | in the folder (not recursively). | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:contained-file-count /> | | The number of files directly contained | |
| | | in the folder (not recursively). | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:data-fingerprint /> | | Used by the clients to find out | |
| | | if a backup has been restored. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:acl-enabled> | Whether ACL is enabled for this group folder. | ``1`` or ``0`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:acl-can-manage> | Wether the current user can manager ACL. | ``1`` or ``0`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:acl-list> | Array of ACL rules. | | ``<nc:acl>`` |
| | | | ``<nc:acl-mapping-type>group</nc:acl-mapping-type>`` |
| | | | ``<nc:acl-mapping-id>admin</nc:acl-mapping-id>`` |
| | | | ``<nc:acl-mapping-display-name>admin</nc:acl-mapping-display-name>`` |
| | | | ``<nc:acl-mask>20</nc:acl-mask>`` |
| | | | ``<nc:acl-permissions>15</nc:acl-permissions>`` |
| | | | ``</nc:acl>`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:inherited-acl-list> | Array of ACL rules from the parents folders | See <nc:acl-list> |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:group-folder-id> | Numerical id of that group folder. | ``1`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:lock> | Wether the file is locked. | ``1`` or ``0`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:lock-owner-type> | Type of the owner of the lock. | ``0`` = User |
| | | ``1`` = Office or Text |
| | | ``2`` = WebDAV |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:lock-owner> | User id of the owner of the lock. | ``alice`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:lock-owner-displayname> | Display name of the owner of the lock. | ``Alice`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:lock-owner-editor> | App id of an app owned lock. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:lock-time> | Date when the lock was created as a timestamp. | ``1675789581`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:lock-timeout> | TTL of the lock in seconds staring from the | ``0`` = No timeout |
| | creation time. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
| <nc:lock-token> | The token of the lock. | ``files_lock/0e53dfb6-61b4-46f0-b38e-d9a428292998`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------+
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| Property | Description | Example |
+===============================+=================================================+======================================================================================+
| <d:creationdate /> | The creation date of the node. | ``1970-01-01T00:00:00+00:00`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <d:getlastmodified /> | The latest modification time. | ``Wed, 20 Jul 2022 05:12:23 GMT`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <d:getetag /> | The file's etag. | ``&quot;6436d084d4805&quot;`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <d:getcontenttype /> | The mime type of the file. | ``image/jpeg`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <d:resourcetype /> | Specifies the nature of the resource. | ``<d:collection />`` for a folder |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <d:getcontentlength /> | The size if it is a file in bytes. | ``3030237`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <d:getcontentlanguage /> | The language of the content. | ``en`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <d:displayname /> | A name suitable for presentation. | ``File name`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <d:lockdiscovery /> | | Dummy endpoint for class 2 WebDAV support. | ``<d:lockdiscovery />`` |
| | | Should return the list of lock, but | |
| | | always return an empty response. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <d:supportedlock /> | | Dummy endpoint for class 2 WebDAV support. | | ``<d:lockentry>`` |
| | | Always provide the same lock capabilities. | | ``<d:lockscope><d:exclusive /></d:lockscope>`` |
| | | | | ``<d:locktype><d:write /></d:locktype></d:lockentry>`` |
| | | | | ``</d:lockentry>`` |
| | | | | ``<d:lockentry>`` |
| | | | | ``<d:lockscope><d:shared /></d:lockscope>`` |
| | | | | ``<d:locktype><d:write /></d:locktype>`` |
| | | | | ``</d:lockentry>`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <oc:id /> | | The fileid namespaced by the instance id. | ``00000007oc9l3j5ur4db`` |
| | | Globally unique. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <oc:fileid /> | The unique id for the file within the instance. | ``7`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <oc:downloadURL /> | | A URL to directly download the file from a | |
| | | storage. No storage implements that yet. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <oc:permissions /> | | The permissions that the user has over the | | ``S``: Shared |
| | | file. The value is a string containing | | ``R``: Shareable |
| | | letters for all available permissions. | | ``M``: Mounted |
| | | | ``G``: Readable |
| | | | ``D``: Deletable |
| | | | ``NV``: Updateable, Renameable, Moveable |
| | | | ``W``: Updateable (file) |
| | | | ``CK``: Creatable |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:creation_time /> | Same as ``creationdate``, but as a timestamp. | ``1675789581`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:mount-type /> | The type of mount. | | ``''`` = local |
| | | | ``'shared'`` = received share |
| | | | ``'group'`` = group folder |
| | | | ``'external'`` = external storage |
| | | | ``'external-session'`` = external storage |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:is-encrypted /> | Whether the folder is end-to-end encrypted. | | ``0`` for ``false`` |
| | | | ``1`` for ``true`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <oc:tags /> | List of user specified tags. | ``<oc:tag>test</oc:tag>`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <oc:favorite /> | The favorite state. | | ``0`` for not favourited |
| | | | ``1`` for favourited |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <oc:comments-href /> | The DAV endpoint to fetch the comments. | ``/remote.php/dav/comments/files/{fileId}`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <oc:comments-count /> | The number of comments. | ``2`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <oc:comments-unread /> | The number of unread comments. | ``0`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <oc:owner-id /> | The user id of the owner of a shared file. | ``alice`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <oc:owner-display-name /> | The display name of the owner of a shared file. | ``Alice`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <oc:share-types /> | XML array of share types. | | ``<oc:share-type>{shareTypeId}</oc:share-type>`` |
| | | | ``0`` = User |
| | | | ``1`` = Group |
| | | | ``3`` = Public link |
| | | | ``4`` = Email |
| | | | ``6`` = Federated cloud share |
| | | | ``7`` = Circle |
| | | | ``8`` = Guest |
| | | | ``9`` = Remote group |
| | | | ``10`` = Talk conversation |
| | | | ``12`` = Deck |
| | | | ``15`` = Science mesh |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <ocs:share-permissions /> | | The permissions that the | | ``1`` = Read |
| | | user has over the share. | | ``2`` = Update |
| | | | ``4`` = Create |
| | | | ``8`` = Delete |
| | | | ``16`` = Share |
| | | | ``31`` = All |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <ocm:share-permissions /> | | The permissions that the user has | ``["share", "read", "write"]`` |
| | | over the share as a JSON array. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:share-attributes /> | User set attributes as a JSON array. | ``[{ "scope" => <string>, "key" => <string>, "enabled" => <bool> }]`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:sharees /> | The list of share recipient. | | ``<nc:sharee>`` |
| | | | ``<nc:id>alice</nc:id>`` |
| | | | ``<nc:display-name>Alice</nc:display-name>`` |
| | | | ``<nc:type>0</nc:type>`` |
| | | | ``</nc:sharee>`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <oc:checksums /> | An array of checksums. | ``<oc:checksum>md5:04c36b75222cd9fd47f2607333029106</oc:checksum>`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:has-preview /> | Whether a preview of the file is available. | ``true`` or ``false`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <oc:size /> | | Unlike ``getcontentlength``, this property | ``127815235`` |
| | | also works for folders, reporting the size of | |
| | | everything in the folder. Size is in bytes. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <oc:quota-used-bytes /> | Amount of bytes used in the folder. | ``3950773`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <oc:quota-available-bytes /> | Amount of available bytes in the folder. | | ``3950773`` |
| | | | ``-1`` Uncomputed free space. |
| | | | ``-2`` Unknown free space. |
| | | | ``-3`` Unlimited free space. |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:rich-workspace-file /> | The id of the workspace file. | `3456` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:rich-workspace /> | The content of the workspace file. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:upload_time /> | Date this file was uploaded. | ``1675789581`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:note /> | Share note. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:contained-folder-count /> | | The number of folders directly contained | |
| | | in the folder (not recursively). | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:contained-file-count /> | | The number of files directly contained | |
| | | in the folder (not recursively). | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:data-fingerprint /> | | Used by the clients to find out | |
| | | if a backup has been restored. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:acl-enabled> | Whether ACL is enabled for this group folder. | ``1`` or ``0`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:acl-can-manage> | Wether the current user can manager ACL. | ``1`` or ``0`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:acl-list> | Array of ACL rules. | | ``<nc:acl>`` |
| | | | ``<nc:acl-mapping-type>group</nc:acl-mapping-type>`` |
| | | | ``<nc:acl-mapping-id>admin</nc:acl-mapping-id>`` |
| | | | ``<nc:acl-mapping-display-name>admin</nc:acl-mapping-display-name>`` |
| | | | ``<nc:acl-mask>20</nc:acl-mask>`` |
| | | | ``<nc:acl-permissions>15</nc:acl-permissions>`` |
| | | | ``</nc:acl>`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:inherited-acl-list> | Array of ACL rules from the parents folders | See <nc:acl-list> |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:group-folder-id> | Numerical id of that group folder. | ``1`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:lock> | Wether the file is locked. | ``1`` or ``0`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:lock-owner-type> | Type of the owner of the lock. | ``0`` = User |
| | | ``1`` = Office or Text |
| | | ``2`` = WebDAV |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:lock-owner> | User id of the owner of the lock. | ``alice`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:lock-owner-displayname> | Display name of the owner of the lock. | ``Alice`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:lock-owner-editor> | App id of an app owned lock. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:lock-time> | Date when the lock was created as a timestamp. | ``1675789581`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:lock-timeout> | TTL of the lock in seconds staring from the | ``0`` = No timeout |
| | creation time. | |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:lock-token> | The token of the lock. | ``files_lock/0e53dfb6-61b4-46f0-b38e-d9a428292998`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:file-metadata-size> | The pixel-size of an image. | ``{&quot;width&quot;:451,&quot;height&quot;:529}`` |
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
| <nc:file-metadata-gps> | The GPS location of a file taken from EXIF data.| ``{&quot;latitude&quot;:52.52093727702034,&quot;longitude&quot;:13.397258069518614}``|
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
Listing folders (rfc4918_)
--------------------------