Docs

Get File Shares

GET /files/{fileId}/shares

GET/files/{fileId}/shares

Returns a file's direct shares and the shares it inherits from the folders above it, each with the target's name, how many people it reaches and who shared it. Requires View on the file.

Path Parameters

FieldTypeRequiredDescription
fileIduuidRequired

Response

FieldTypeDescription
sharesGetFileSharesResponseShare[]| null
inheritedGetFileSharesResponseInheritedShare[]| null

GetFileSharesResponseShare

FieldTypeDescription
iduuid
targetTypestring| null
targetIduuid
namestring| null
memberCountinteger
levelstring| null
createdAtdate-time
sharedBystring| null

GetFileSharesResponseInheritedShare

FieldTypeDescription
fromFolderIduuid
fromFolderNamestring| null
iduuid
targetTypestring| null
targetIduuid
namestring| null
memberCountinteger
levelstring| null
createdAtdate-time
sharedBystring| null