@@ -1366,6 +1366,70 @@ paths:
13661366 total_count : 2
13671367
13681368 # Sharing Links
1369+ /api/v2.1/org/{org_id}/admin/shares/ :
1370+ get :
1371+ tags :
1372+ - Sharing Links
1373+ summary : List Shares
1374+ operationId : listShares
1375+ description : |
1376+ List all shares inside the given team/organization.
1377+
1378+ This includes the following:
1379+ - Bases shared to individual users
1380+ - Bases shared to groups
1381+ - Views shared to individual users
1382+ - Views shared to groups
1383+ security :
1384+ - AccountTokenAuth : []
1385+ parameters :
1386+ - $ref : " #/components/parameters/org_id"
1387+ responses :
1388+ " 200 " :
1389+ description : OK
1390+ content :
1391+ application/json :
1392+ schema :
1393+ type : object
1394+ example :
1395+ dtable_user_shares :
1396+ - dtable_uuid : 3c899a81-6a0c-4111-bb19-288ebf8442fd
1397+ email : 97f45993fc174280b939976c9b9256eb@auth.local
1398+ name : org-1-user-1
1399+ avatar_url : https://cloud.seatable.io/media/avatars/default.png
1400+ contact_email : org-1-user-1@seatable.io
1401+ permission : rw
1402+ share_id : 1
1403+ dtable_group_shares :
1404+ - dtable_uuid : 3c899a81-6a0c-4111-bb19-288ebf8442fd
1405+ group_id : 1
1406+ group_name : Marketing
1407+ permission : rw
1408+ share_id : 1
1409+ view_user_shares :
1410+ - dtable_uuid : 3c899a81-6a0c-4111-bb19-288ebf8442fd
1411+ id : 1
1412+ dtable_name : CRM
1413+ from_user : e38487b4357e40c8b1359223ba87a1af@auth.local
1414+ to_user : 97f45993fc174280b939976c9b9256eb@auth.local
1415+ permission : r
1416+ table_id : ' 0000'
1417+ view_id : ' 0000'
1418+ shared_name : User share
1419+ from_user_name : org-1-admin
1420+ to_user_name : org-1-user-1
1421+ view_group_shares :
1422+ - dtable_uuid : 3c899a81-6a0c-4111-bb19-288ebf8442fd
1423+ id : 1
1424+ dtable_name : CRM
1425+ from_user : e38487b4357e40c8b1359223ba87a1af@auth.local
1426+ to_group_id : 1
1427+ permission : r
1428+ table_id : ' 0000'
1429+ view_id : ' 0000'
1430+ shared_name : Group share
1431+ from_user_name : org-1-admin
1432+ to_group_name : Marketing
13691433 /api/v2.1/org/{org_id}/admin/external-links/ :
13701434 get :
13711435 tags :
0 commit comments