Shares API - user reshares

help

#1

Hi,

I have a question regarding Share API. Let’s say I have user John and user Mark. User John shares a file x.png with a group that user Mark is in. Then, when I’m sending request using John credentials ( https://doc.owncloud.com/server/developer_manual/core/ocs-share-api.html#get-shares-from-a-specific-file-or-folder ), shares?path=/x.png I get a share information in response. Then, I’d like to get same information information about all shares by users that have that file shared to them, so I’m using a flag shares?path=/x.png&reshares=true and sending request using Mark credentials, but the response is empty. Docs say that reshares flag returns not only the shares from the current user but all, but that doesn’t work for me