Repository navigation
Closed
Description
Listing the existing shares (users of groups) of any item.
List
GET <url>/graph/v1beta1/drives/<drive-id>/items/<item-id>/permissions
with response:
{
"@libre.graph.permissions.actions.allowedValues": [
...
],
"@libre.graph.permissions.roles.allowedValues": [
<information relevant for create share>
],
"value": [
{
"createdDateTime": "2026-05-29T11:13:15.670197346Z",
"grantedToV2": {
"user": {
"@libre.graph.userType": "Member",
"displayName": "einstein",
"id": "dfb353c9-ca88-41d5-a236-2c9e9c7dc115"
}
},
"id": "8ded28fc-94db-404a-82e9-8be02328aaf6:3d3e616e-92c7-430f-93bd-6fc9ae970ae9:079dd41c-729d-4098-a0cc-6692879e8612",
"invitation": {
"invitedBy": {
"user": {
"@libre.graph.userType": "Member",
"displayName": "user2",
"id": "54e131de-1c06-412a-9a85-0f5392c1ebba"
}
}
},
"roles": [
"b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5"
]
},
{
"createdDateTime": "2026-05-29T11:15:59.51523438Z",
"hasPassword": true,
"id": "OWTZkJHWbVYKVQH",
"link": {
"@libre.graph.displayName": "",
"@libre.graph.quickLink": false,
"preventsDownload": false,
"type": "view",
"webUrl": "https://.../s/NcHPkyRBxPebvIK"
}
}
]
}
every sharee is defined in the value array with information about itself and the invitation.
Important to mind that links information is also attached to prevent crashes
Adding an scrollview to refresh
TASKS
- Research (if needed)
- Create branch feature/list_ocis_shares
- Development tasks
- Create the new fragment and display the base UI (Shares header, etc...)
- Display all oCIS shares for a file/foler
- Add swipe to refresh action
- Implement unit tests (if needed)
- Code review and apply changes requested
- Design test plan
- QA
- Merge branch feature/list_ocis_shares into master
Activity