Docs
Get Public File Link Document
GET /public/file-links/{linkId}/files/{documentId}/document
GET
/public/file-links/{linkId}/files/{documentId}/documentReturns a doc reached by a public file link (a link on the doc, or a folder link above it) with no authentication: content, filters with their options, resolved tokens, files map, the link's preset and allowed values (none for a folder link), and linkTarget (File when the link is on the doc itself, Folder when a folder link above it reaches the doc). A filter that data tables bind offers the values over their rows, within the link's allowed values. Ids come from Drives_GetPublicFileLink. Expired links and docs the link does not reach return 404.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| linkId | uuid | Required | |
| documentId | uuid | Required |
Response
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| displayName | string| null | |
| description | string| null | |
| content | string| null | |
| filters | GetPublicFileLinkDocumentResponseFilterInfo[]| null | |
| filterValues | string| null | |
| allowedValues | string| null | |
| linkTarget | string| null | |
| files | object| null | |
| resolvedTokens | object| null |
GetPublicFileLinkDocumentResponseFilterInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| filterType | string| null | |
| isMultiSelect | boolean | |
| isRequired | boolean | |
| defaultValues | string| null | |
| options | GetPublicFileLinkDocumentResponseFilterOption[]| null |
GetPublicFileLinkDocumentResponseFilterOption
| Field | Type | Description |
|---|---|---|
| value | string| null | |
| label | string| null |