Tables

Save 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 URL
    https://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 pinned request property default value changed from filter sort group fields to

    • info

      the pinned response's property default value changed from filter sort group fields to for the status

    • info

      the toolbar response's property default value changed from {"pinned":["filter","sort","group","fields"]} to {"pinned":[]} for the status