Views
10 operations, generated from the OpenAPI document.
The views of a table, in sidebar order
GET /api/tables/{tableId}/views
Access: table:read on the table (see ACTIONS for the minimum role); personal access tokens need schema.bases:read.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
tableId | path | string | yes |
Responses
200Successviewsarray of object requiredidstring (uuid) requiredtableIdstring (uuid) requirednamestring requiredtype"grid" | "gallery" | "kanban" | "calendar" | "timeline" | "list" | "form" requiredpositionnumber requiredconfigobject requiredfilterobjectconjunction"and" | "or" requiredconditionsarray of object required
sortsarray of objectfieldIdstring (uuid) requireddirection"asc" | "desc" required
groupByarray of objectfieldIdstring (uuid) requireddirection"asc" | "desc" required
gridobjectfieldOrderarray of string (uuid)columnWidthsobjectfrozenCountintegerrowHeight"compact" | "default" | "medium" | "tall"hiddenFieldsarray of string (uuid)
kanbanobjectstackFieldIdstring (uuid) | nullcardFieldsarray of string (uuid)coverFieldIdstring (uuid) | nullcollapseEmptyboolean
calendarobjectdateFieldsarray of objectcolorFieldIdstring (uuid) | nullmode"month" | "week" | "day"
galleryobjectcardFieldsarray of string (uuid)coverFieldIdstring (uuid) | nullcoverFit"crop" | "fit"cardSize"small" | "medium" | "large"
timelineobjectstartFieldIdstring (uuid) | nullendFieldIdstring (uuid) | nullscale"day" | "week" | "month"groupFieldIdstring (uuid) | nullcolorFieldIdstring (uuid) | nulldependencyFieldIdstring (uuid) | null
listobjectparentFieldIdstring (uuid) | nullrowFieldsarray of string (uuid)
formobjectfieldsarray of objecttitlestringdescriptionstringcoverAttachmentIdstring (uuid) | nulllogoAttachmentIdstring (uuid) | nullsubmitLabelstringafterSubmit"message" | "redirect"submitMessagestringredirectUrlstring | nullshowBrandingboolean
rowColorobject | null
personalboolean requiredlockedboolean requiredsectionIdstring (uuid) | null requiredcreatedBystring (uuid) | null requiredcreatedAtstring (date-time) requiredupdatedAtstring (date-time) required
sectionsarray of object requiredidstring (uuid) requiredtableIdstring (uuid) requirednamestring requiredpositionnumber required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it429Too many requests: a rate limit was reached (see Retry-After)
Create a view
POST /api/tables/{tableId}/views
Access: view:create on the table (see ACTIONS for the minimum role); personal access tokens need schema.bases:write.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
tableId | path | string | yes |
Request body
namestring requiredtype"grid" | "gallery" | "kanban" | "calendar" | "timeline" | "list" | "form"personalboolean
Responses
201Successidstring (uuid) requiredtableIdstring (uuid) requirednamestring requiredtype"grid" | "gallery" | "kanban" | "calendar" | "timeline" | "list" | "form" requiredpositionnumber requiredconfigobject requiredfilterobjectconjunction"and" | "or" requiredconditionsarray of object required
sortsarray of objectfieldIdstring (uuid) requireddirection"asc" | "desc" required
groupByarray of objectfieldIdstring (uuid) requireddirection"asc" | "desc" required
gridobjectfieldOrderarray of string (uuid)columnWidthsobjectfrozenCountintegerrowHeight"compact" | "default" | "medium" | "tall"hiddenFieldsarray of string (uuid)
kanbanobjectstackFieldIdstring (uuid) | nullcardFieldsarray of string (uuid)coverFieldIdstring (uuid) | nullcollapseEmptyboolean
calendarobjectdateFieldsarray of objectstartFieldIdstring (uuid) requiredendFieldIdstring (uuid) | null
colorFieldIdstring (uuid) | nullmode"month" | "week" | "day"
galleryobjectcardFieldsarray of string (uuid)coverFieldIdstring (uuid) | nullcoverFit"crop" | "fit"cardSize"small" | "medium" | "large"
timelineobjectstartFieldIdstring (uuid) | nullendFieldIdstring (uuid) | nullscale"day" | "week" | "month"groupFieldIdstring (uuid) | nullcolorFieldIdstring (uuid) | nulldependencyFieldIdstring (uuid) | null
listobjectparentFieldIdstring (uuid) | nullrowFieldsarray of string (uuid)
formobjectfieldsarray of objectfieldIdstring (uuid) requiredlabelstringhelpTextstringrequiredbooleanallowPrefillbooleanconditionobject | nullviewIdForRecordSelectionstring (uuid) | null
titlestringdescriptionstringcoverAttachmentIdstring (uuid) | nulllogoAttachmentIdstring (uuid) | nullsubmitLabelstringafterSubmit"message" | "redirect"submitMessagestringredirectUrlstring | nullshowBrandingboolean
rowColorobject | null
personalboolean requiredlockedboolean requiredsectionIdstring (uuid) | null requiredcreatedBystring (uuid) | null requiredcreatedAtstring (date-time) requiredupdatedAtstring (date-time) required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it422The request failed validation429Too many requests: a rate limit was reached (see Retry-After)
Read a view
GET /api/views/{viewId}
Access: view:read on the view (see ACTIONS for the minimum role); personal access tokens need schema.bases:read.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
viewId | path | string | yes |
Responses
200Successidstring (uuid) requiredtableIdstring (uuid) requirednamestring requiredtype"grid" | "gallery" | "kanban" | "calendar" | "timeline" | "list" | "form" requiredpositionnumber requiredconfigobject requiredfilterobjectconjunction"and" | "or" requiredconditionsarray of object required
sortsarray of objectfieldIdstring (uuid) requireddirection"asc" | "desc" required
groupByarray of objectfieldIdstring (uuid) requireddirection"asc" | "desc" required
gridobjectfieldOrderarray of string (uuid)columnWidthsobjectfrozenCountintegerrowHeight"compact" | "default" | "medium" | "tall"hiddenFieldsarray of string (uuid)
kanbanobjectstackFieldIdstring (uuid) | nullcardFieldsarray of string (uuid)coverFieldIdstring (uuid) | nullcollapseEmptyboolean
calendarobjectdateFieldsarray of objectstartFieldIdstring (uuid) requiredendFieldIdstring (uuid) | null
colorFieldIdstring (uuid) | nullmode"month" | "week" | "day"
galleryobjectcardFieldsarray of string (uuid)coverFieldIdstring (uuid) | nullcoverFit"crop" | "fit"cardSize"small" | "medium" | "large"
timelineobjectstartFieldIdstring (uuid) | nullendFieldIdstring (uuid) | nullscale"day" | "week" | "month"groupFieldIdstring (uuid) | nullcolorFieldIdstring (uuid) | nulldependencyFieldIdstring (uuid) | null
listobjectparentFieldIdstring (uuid) | nullrowFieldsarray of string (uuid)
formobjectfieldsarray of objectfieldIdstring (uuid) requiredlabelstringhelpTextstringrequiredbooleanallowPrefillbooleanconditionobject | nullviewIdForRecordSelectionstring (uuid) | null
titlestringdescriptionstringcoverAttachmentIdstring (uuid) | nulllogoAttachmentIdstring (uuid) | nullsubmitLabelstringafterSubmit"message" | "redirect"submitMessagestringredirectUrlstring | nullshowBrandingboolean
rowColorobject | null
personalboolean requiredlockedboolean requiredsectionIdstring (uuid) | null requiredcreatedBystring (uuid) | null requiredcreatedAtstring (date-time) requiredupdatedAtstring (date-time) required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it429Too many requests: a rate limit was reached (see Retry-After)
Rename, reorder, lock, colour or reconfigure a view
PATCH /api/views/{viewId}
Access: view:update on the view (see ACTIONS for the minimum role); personal access tokens need schema.bases:write.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
viewId | path | string | yes |
Request body
namestringpositionnumbergridobjectfieldOrderarray of string (uuid)columnWidthsobjectfrozenCountintegerrowHeight"compact" | "default" | "medium" | "tall"hiddenFieldsarray of string (uuid)
kanbanobjectstackFieldIdstring (uuid) | nullcardFieldsarray of string (uuid)coverFieldIdstring (uuid) | nullcollapseEmptyboolean
calendarobjectdateFieldsarray of objectstartFieldIdstring (uuid) requiredendFieldIdstring (uuid) | null
colorFieldIdstring (uuid) | nullmode"month" | "week" | "day"
galleryobjectcardFieldsarray of string (uuid)coverFieldIdstring (uuid) | nullcoverFit"crop" | "fit"cardSize"small" | "medium" | "large"
timelineobjectstartFieldIdstring (uuid) | nullendFieldIdstring (uuid) | nullscale"day" | "week" | "month"groupFieldIdstring (uuid) | nullcolorFieldIdstring (uuid) | nulldependencyFieldIdstring (uuid) | null
listobjectparentFieldIdstring (uuid) | nullrowFieldsarray of string (uuid)
formobjectfieldsarray of objectfieldIdstring (uuid) requiredlabelstringhelpTextstringrequiredbooleanallowPrefillbooleanconditionobject | nullconjunction"and" | "or"conditionsarray of object required
viewIdForRecordSelectionstring (uuid) | null
titlestringdescriptionstringcoverAttachmentIdstring (uuid) | nulllogoAttachmentIdstring (uuid) | nullsubmitLabelstringafterSubmit"message" | "redirect"submitMessagestringredirectUrlstring | nullshowBrandingboolean
rowColorobject | nullqueryobjectfilterobjectconjunction"and" | "or"conditionsarray of object required
sortsarray of objectfieldIdstring (uuid) requireddirection"asc" | "desc"
groupByarray of objectfieldIdstring (uuid) requireddirection"asc" | "desc"
personalbooleanlockedbooleansectionIdstring (uuid) | null
Responses
200Successidstring (uuid) requiredtableIdstring (uuid) requirednamestring requiredtype"grid" | "gallery" | "kanban" | "calendar" | "timeline" | "list" | "form" requiredpositionnumber requiredconfigobject requiredfilterobjectconjunction"and" | "or" requiredconditionsarray of object required
sortsarray of objectfieldIdstring (uuid) requireddirection"asc" | "desc" required
groupByarray of objectfieldIdstring (uuid) requireddirection"asc" | "desc" required
gridobjectfieldOrderarray of string (uuid)columnWidthsobjectfrozenCountintegerrowHeight"compact" | "default" | "medium" | "tall"hiddenFieldsarray of string (uuid)
kanbanobjectstackFieldIdstring (uuid) | nullcardFieldsarray of string (uuid)coverFieldIdstring (uuid) | nullcollapseEmptyboolean
calendarobjectdateFieldsarray of objectstartFieldIdstring (uuid) requiredendFieldIdstring (uuid) | null
colorFieldIdstring (uuid) | nullmode"month" | "week" | "day"
galleryobjectcardFieldsarray of string (uuid)coverFieldIdstring (uuid) | nullcoverFit"crop" | "fit"cardSize"small" | "medium" | "large"
timelineobjectstartFieldIdstring (uuid) | nullendFieldIdstring (uuid) | nullscale"day" | "week" | "month"groupFieldIdstring (uuid) | nullcolorFieldIdstring (uuid) | nulldependencyFieldIdstring (uuid) | null
listobjectparentFieldIdstring (uuid) | nullrowFieldsarray of string (uuid)
formobjectfieldsarray of objectfieldIdstring (uuid) requiredlabelstringhelpTextstringrequiredbooleanallowPrefillbooleanconditionobject | nullviewIdForRecordSelectionstring (uuid) | null
titlestringdescriptionstringcoverAttachmentIdstring (uuid) | nulllogoAttachmentIdstring (uuid) | nullsubmitLabelstringafterSubmit"message" | "redirect"submitMessagestringredirectUrlstring | nullshowBrandingboolean
rowColorobject | null
personalboolean requiredlockedboolean requiredsectionIdstring (uuid) | null requiredcreatedBystring (uuid) | null requiredcreatedAtstring (date-time) requiredupdatedAtstring (date-time) required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it422The request failed validation429Too many requests: a rate limit was reached (see Retry-After)
Delete a view (a table keeps at least one)
DELETE /api/views/{viewId}
Access: view:delete on the view (see ACTIONS for the minimum role); personal access tokens need schema.bases:write.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
viewId | path | string | yes |
Responses
204Success, no content401Not signed in403Signed in, but the role is too low404No such resource, or no access to it429Too many requests: a rate limit was reached (see Retry-After)
Duplicate a view with its configuration
POST /api/views/{viewId}/duplicate
Access: view:duplicate on the view (see ACTIONS for the minimum role); personal access tokens need schema.bases:write.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
viewId | path | string | yes |
Request body
namestring
Responses
201Successidstring (uuid) requiredtableIdstring (uuid) requirednamestring requiredtype"grid" | "gallery" | "kanban" | "calendar" | "timeline" | "list" | "form" requiredpositionnumber requiredconfigobject requiredfilterobjectconjunction"and" | "or" requiredconditionsarray of object required
sortsarray of objectfieldIdstring (uuid) requireddirection"asc" | "desc" required
groupByarray of objectfieldIdstring (uuid) requireddirection"asc" | "desc" required
gridobjectfieldOrderarray of string (uuid)columnWidthsobjectfrozenCountintegerrowHeight"compact" | "default" | "medium" | "tall"hiddenFieldsarray of string (uuid)
kanbanobjectstackFieldIdstring (uuid) | nullcardFieldsarray of string (uuid)coverFieldIdstring (uuid) | nullcollapseEmptyboolean
calendarobjectdateFieldsarray of objectstartFieldIdstring (uuid) requiredendFieldIdstring (uuid) | null
colorFieldIdstring (uuid) | nullmode"month" | "week" | "day"
galleryobjectcardFieldsarray of string (uuid)coverFieldIdstring (uuid) | nullcoverFit"crop" | "fit"cardSize"small" | "medium" | "large"
timelineobjectstartFieldIdstring (uuid) | nullendFieldIdstring (uuid) | nullscale"day" | "week" | "month"groupFieldIdstring (uuid) | nullcolorFieldIdstring (uuid) | nulldependencyFieldIdstring (uuid) | null
listobjectparentFieldIdstring (uuid) | nullrowFieldsarray of string (uuid)
formobjectfieldsarray of objectfieldIdstring (uuid) requiredlabelstringhelpTextstringrequiredbooleanallowPrefillbooleanconditionobject | nullviewIdForRecordSelectionstring (uuid) | null
titlestringdescriptionstringcoverAttachmentIdstring (uuid) | nulllogoAttachmentIdstring (uuid) | nullsubmitLabelstringafterSubmit"message" | "redirect"submitMessagestringredirectUrlstring | nullshowBrandingboolean
rowColorobject | null
personalboolean requiredlockedboolean requiredsectionIdstring (uuid) | null requiredcreatedBystring (uuid) | null requiredcreatedAtstring (date-time) requiredupdatedAtstring (date-time) required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it422The request failed validation429Too many requests: a rate limit was reached (see Retry-After)
Place a record after another in the view's manual order (kanban cards)
POST /api/views/{viewId}/order
Access: view:update on the view (see ACTIONS for the minimum role); personal access tokens need schema.bases:write.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
viewId | path | string | yes |
Request body
recordIdstring (uuid) requiredafterIdstring (uuid) | null required
Responses
204Success, no content401Not signed in403Signed in, but the role is too low404No such resource, or no access to it422The request failed validation429Too many requests: a rate limit was reached (see Retry-After)
Add a section (folder) to the sidebar of a table
POST /api/tables/{tableId}/view-sections
Access: viewSection:create on the table (see ACTIONS for the minimum role); personal access tokens need schema.bases:write.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
tableId | path | string | yes |
Request body
namestring required
Responses
201Successidstring (uuid) requiredtableIdstring (uuid) requirednamestring requiredpositionnumber required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it422The request failed validation429Too many requests: a rate limit was reached (see Retry-After)
Rename or reorder a view section
PATCH /api/tables/{tableId}/view-sections/{sectionId}
Access: viewSection:update on the table (see ACTIONS for the minimum role); personal access tokens need schema.bases:write.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
tableId | path | string | yes |
sectionId | path | string (uuid) | yes |
Request body
namestringpositionnumber
Responses
200Successidstring (uuid) requiredtableIdstring (uuid) requirednamestring requiredpositionnumber required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it422The request failed validation429Too many requests: a rate limit was reached (see Retry-After)
Delete a view section (its views stay, outside any section)
DELETE /api/tables/{tableId}/view-sections/{sectionId}
Access: viewSection:delete on the table (see ACTIONS for the minimum role); personal access tokens need schema.bases:write.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
tableId | path | string | yes |
sectionId | path | string (uuid) | yes |
Responses
204Success, no content401Not signed in403Signed in, but the role is too low404No such resource, or no access to it429Too many requests: a rate limit was reached (see Retry-After)