Docs

Get File Links

GET /files/{fileId}/file-links

GET/files/{fileId}/file-links

Lists the public links on a file with their level and expiry, and on a doc their filterValues and allowedValues; an expired link is still listed. Requires Manage on the file. The fileId comes from Drives_GetFiles.

Path Parameters

FieldTypeRequiredDescription
fileIduuidRequired

Response

Type: GetFileLinksResponse[]

GetFileLinksResponse

FieldTypeDescription
iduuid
namestring| null
levelstring| null
expiresAtdate-time| null
createdAtdate-time
createdBystring| null
filterValuesstring| null
allowedValuesstring| null