ViewAttributes
Attributes for creating and updating a view. The ViewAttributes input type in Bunny's GraphQL API, with its fields and an example.
{
"name": "",
"obj": "",
"conditions": "",
"columns": "",
"isDefault": true,
"pinned": true,
"sortBy": "",
"sortOrder": ""
}
| Name | Type | Description |
|---|---|---|
| name | String | Name of the view |
| obj | String | The object this view operates on |
| conditions | String | YAML-formatted conditions |
| columns | String | Comma-separated list of columns names |
| isDefault | Boolean | True if this view is to be shown by default on the page |
| pinned | Boolean | True if this view is pinned for quick access |
| sortBy | String | Field the table is sorted by |
| sortOrder | String | Sort order of the table |