Docs

Get Drive User Shared

GET /Drives/{driveId}/users/{userId}/shared

GET/Drives/{driveId}/users/{userId}/shared

Lists the files and folders shared directly with the calling user. With no path it returns everything shared with them; to open a shared folder, pass its path and the association id (grantedAssociation) from that listing. A caller can only read their own shared files, so the user id must be the caller's. For everything in a partition, use Drives_Get.

Path Parameters

FieldTypeRequiredDescription
driveIduuidRequired
userIduuidRequired

Query Parameters

FieldTypeRequiredDescription
pathstringOptional
associationuuidOptional

Response

FieldTypeDescription
pathPartsGetDriveUserSharedResponsePathPart[]| null
filesGetDriveUserSharedResponseItem[]| null
foldersGetDriveUserSharedResponseItem[]| null
permissionsstring[]| null

GetDriveUserSharedResponsePathPart

FieldTypeDescription
namestring| null
pathstring| null
grantedAssociationuuid

GetDriveUserSharedResponseItem

FieldTypeDescription
iduuid
grantedAssociationuuid
typestring| null
namestring| null
descriptionstring| null
pathstring| null
fullPathstring| null
permissionsstring[]| null
associationsGetDriveUserSharedResponseItemAssociation
versionsstring[]| null

GetDriveUserSharedResponseItemAssociation

FieldTypeDescription
departmentsGetDriveUserSharedResponseItemAssociationAssociatedEntity[]| null
locationsGetDriveUserSharedResponseItemAssociationAssociatedEntity[]| null
crewMembersGetDriveUserSharedResponseItemAssociationAssociatedEntity[]| null

GetDriveUserSharedResponseItemAssociationAssociatedEntity

FieldTypeDescription
iduuid
namestring| null