How to get the absolute path of shared file?

i have two user account: A and B

A shared test.doc with B,
test.doc absolute path is /var/www/nextcloud/data/A/files/store/path/test.doc

if i logged in with user B , how can i get the path above like “/var/www/nextcloud/data/A/files/store/path/test.doc” or “/A/files/store/path/test.doc”,?

which API should i call?

thanks!

1 Like

Hello,
I think I needed the same and I found you can get “local link” of a internally shared file as describe here :

(When you click on the shared icon of a internally shared file I didn’t notice this small icon).

I hope that can help you.
Simon