Xuanwo commented on PR #7074:
URL: https://github.com/apache/opendal/pull/7074#issuecomment-3686015344
> The issue is that `stat()` uses `<allprop/>` since we don't know which
property keys the user has set. To retrieve specific dead properties, we'd need
to explicitly name them in the `PROPFIND` request - but that requires knowing
the keys beforehand.
That's sad. Even if users set their own metadata, we still cannot provide it
back to them in a meaningful way.
I'm fine with merging this PR as it is because the work here is excellent.
However, I would like to know if you have interest to explore further into how
Nextcloud implements file metadata listing. For example, they provide APIs such
as:
```shell
./occ metadata:get 1742
{
"my-first-meta": {
"value": "yes",
"type": "string",
"indexed": false
},
"my-second-meta": {
"value": 1234,
"type": "int",
"indexed": true
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]