Tables
Create a view
Changed onSave an arrangement of the table: its query (filter, sort, group), field layout, footer calculations, row colours and layout. scope: "personal" needs a user behind the credential and is refused for an OAuth client. duplicateOf copies everything but the name from another view, its layout included; send layout to override it. A shared view on a structure-locked table is a 409 TABLE_STRUCTURE_LOCKED.
post/v1/tables/{tableId}/views
Request
- Base URLhttps://api.banksync.io
- Auth
- API key in header X-API-Key
- or HTTP bearer
Path parameters
tableId, string required
Table ID
Request body
object required
name, string required
icon, string
scope, 'shared' | 'personal'
query, object
fields, object
calculations, object
decorations, union[]
density, 'comfortable' | 'compact' | 'tight'
toolbar, object
layout, union
duplicateOf, string
Response
View created
object required
success, true required
data, object required
Changes
- info
the
pinnedrequest property default value changed fromfiltersortgroupfieldsto - info
the
pinnedresponse's property default value changed fromfiltersortgroupfieldstofor the status - info
the
toolbarresponse's property default value changed from{"pinned":["filter","sort","group","fields"]}to{"pinned":[]}for the status
- info