Skip to main content
POST
Create playtable view

Authorizations

Authorization
string
header
required

Access token issued by gs.service.id. Its access_identity claim carries team_sid, actor_sid and actor_type, and that team scope is authoritative.

Team-SID
string
header
required

Team scope for tokens that do not carry one. Ignored when the token already names a team.

Body

application/json

Request body of create_playtable_view.

playtable_sid
string
required

Owner playtable sid (pt_tb_…).

Required string length: 18
Pattern: ^pt_tb_
object_type
enum<string>
required

people | company - which tab of the table; immutable after create.

Available options:
people,
company
name
string
required

View name; dedup key with (playtable_sid, object_type).

Required string length: 1 - 255
columns
object[]

Ordered left→right. Default [] = base-attribute catalog fallback.

sort
object[]

Max 3 entries, applied in array order. Default [].

Maximum array length: 3
filter

Filter AST (and/or/not/any nodes over {field, op} leaves, §4.18 atoms) selecting the rows the view targets. Default null = whole tab. Depth <= 5.

Response

create success envelope.

success
enum<boolean>
required
Available options:
true
operation
enum<string>
required
Available options:
create
item
object
required
already_exists
boolean
required
meta
object
required