Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for more custom fields #265

Open
MaksadAnnamuradov opened this issue Jun 23, 2021 · 1 comment
Open

Support for more custom fields #265

MaksadAnnamuradov opened this issue Jun 23, 2021 · 1 comment

Comments

@MaksadAnnamuradov
Copy link

I am trying to read the nextCloud directory using webdav client and I need more custom fields such as oc:permissions/, <oc:share-types />, <oc:fileid />. I tried to getDirectoryContents with {details: true} but it is still not giving those above 3 options that I am looking for. Is there way to add those custom fields to the response? Or is there way that I can give an customOptions with those fields and send the request? I have tried many other packages and I could not get them to give me those 3 fields and I really need them in my project. Thanks!

@perry-mitchell
Copy link
Owner

Yes, perhaps getDirectoryContents doesn't return a full prop listing. Can you try stat instead on a single file/dir to see if it returns what you need in the props sub property? Please refer to this documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants