POST/public/file-links/{linkId}/files/{documentId}/document/query/{blockId}
Runs one data table in a doc reached by a public file link, like DynamicDocs_ExecuteQuery but with no
authentication. Each filter takes the viewer's value, else the link's preset value, else its defaults; a value
outside the link's allowed values returns 400, a preset outside them is ignored, and an unresolved filter the link
restricts takes all its allowed values. A table that binds a restricted filter with anything but a membership
test returns 400. A data table never returns brokenDetail here. Ids come from Drives_GetPublicFileLink, blockId
from the doc's content. This is a read despite being a POST.
Path Parameters
| Field | Type | Required | Description |
|---|
| linkId | uuid | Required | |
| documentId | uuid | Required | |
| blockId | string | Required | |
Request Body
| Field | Type | Required | Description |
|---|
| filters | object | Optional | |
Response
| Field | Type | Description |
|---|
| rows | object[]| null | |
| groups | StoredQueryGroup[]| null | |
| columns | StoredQueryColumn[]| null | |
| truncated | boolean | |
| broken | boolean | |
| brokenReason | string| null | |
| brokenDetail | BrokenDetail | |
StoredQueryGroup
| Field | Type | Description |
|---|
| key | QueryGroupKeyPart[]| null | |
| labels | string[]| null | |
| count | integer | |
StoredQueryColumn
| Field | Type | Description |
|---|
| alias | string| null | |
| label | string| null | |
| kind | string| null | |
| options | StoredQueryColumnOption[]| null | |
BrokenDetail
| Field | Type | Description |
|---|
| path | string| null | |
| usage | string| null | |
| label | string| null | |
| v1Text | string| null | |
QueryGroupKeyPart
| Field | Type | Description |
|---|
| path | string| null | |
| value | JsonElement| null | |
StoredQueryColumnOption
| Field | Type | Description |
|---|
| id | string| null | |
| label | string| null | |
| color | string| null | |
| icon | string| null | |