E
E
evgen15519952021-01-11 16:21:23
ownCloud/Nextcloud
evgen1551995, 2021-01-11 16:21:23

How to get fileid in nextcloud?

Made here such request, fields returns, but not all. I need fileid.
5ffc4fc254a5e012873325.png

The nextcloud documentation says that you can get all the fields
https://docs.nextcloud.com/server/15/developer_man...

But I don't understand how to correctly form the request. Please tell me how to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
evgen1551995, 2021-01-11
@evgen1551995

<?xml version="1.0"?>
<d:propfind  xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns">
  <d:prop>
        <d:getlastmodified />
        <d:getetag />
        <d:getcontenttype />
        <d:resourcetype />
        <oc:fileid />
        <oc:permissions />
        <oc:size />
        <d:getcontentlength />
        <nc:has-preview />
        <oc:favorite />
        <oc:comments-unread />
        <oc:owner-display-name />
        <oc:share-types />
  </d:prop>
</d:propfind>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question