We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Alice
Brian
textfile0.txt
textfile1.txt
brian
curl -u brian:12345 "http://localhost:9140/ocs/v2.php/apps/files_sharing/api/v1/shares?shared_with_me=true&path=textfile0.txt" -H "OCS-APIREQUEST" | xmllint --format -
<?xml version="1.0" encoding="UTF-8"?> <ocs> <meta> <status>ok</status> <statuscode>200</statuscode> <message>OK</message> </meta> <data> <element> <id>0fad98f3-31c9-4f37-b125-e4483f059c40</id> <share_type>0</share_type> <uid_owner>alice</uid_owner> <displayname_owner>User Alice</displayname_owner> <permissions>31</permissions> <stime>1591869854</stime> <parent/> <expiration/> <token/> <uid_file_owner>alice</uid_file_owner> <displayname_file_owner>User Alice</displayname_file_owner> <additional_info_owner/> <additional_info_file_owner/> <state>1</state> <path>/textfile0.txt</path> <item_type>folder</item_type> <mimetype>httpd/unix-directory</mimetype> <storage_id>1284d238-aa92-42ce-bdc4-0b0000009162</storage_id> <storage>0</storage> <item_source>c76885c7-5831-46b0-8971-7a1f65165be1</item_source> <file_source>c76885c7-5831-46b0-8971-7a1f65165be1</file_source> <file_parent/> <file_target>/textfile0.txt</file_target> <share_with>brian</share_with> <share_with_displayname>User Brian</share_with_displayname> <share_with_additional_info/> <mail_send/> </element> <element> <id>0db984fd-c3f9-421b-bdab-ab2abb2dc68a</id> <share_type>0</share_type> <uid_owner>alice</uid_owner> <displayname_owner>User Alice</displayname_owner> <permissions>31</permissions> <stime>1591869864</stime> <parent/> <expiration/> <token/> <uid_file_owner>alice</uid_file_owner> <displayname_file_owner>User Alice</displayname_file_owner> <additional_info_owner/> <additional_info_file_owner/> <state>1</state> <path>/textfile1.txt</path> <item_type>folder</item_type> <mimetype>httpd/unix-directory</mimetype> <storage_id>1284d238-aa92-42ce-bdc4-0b0000009162</storage_id> <storage>0</storage> <item_source>b0e9c656-21fb-46cd-b4e5-44278413d435</item_source> <file_source>b0e9c656-21fb-46cd-b4e5-44278413d435</file_source> <file_parent/> <file_target>/textfile1.txt</file_target> <share_with>brian</share_with> <share_with_displayname>User Brian</share_with_displayname> <share_with_additional_info/> <mail_send/> </element> </data> </ocs>
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Alice
andBrian
textfile0.txt
andtextfile1.txt
textfile0.txt
with userbrian
textfile1.txt
with userbrian
Brian
gets all the shares shared with him that are received as filetextfile0.txt
as:The text was updated successfully, but these errors were encountered: