Tables
Methods
All Tables
GET
https://api.starion.io/apps/:appId/tables
Get all tables in your team
List Rows
GET
https://api.starion.io/tables/:tableId/rows
Path Parameters
Name | Type | Description |
---|---|---|
tableId* | String | Table id you want to query |
Query Parameters
Name | Type | Description |
---|---|---|
limit | Number | Maximum of 100. Default is 10 |
offset | Number | Default: 0 |
ownerUserId | String | User id, if none provided when querying private table, it will be an error. |
orderBy | String | createdAt or lastUpdatedAt. Default: createdAt |
orderDirection | String | asc or desc. Default: asc |
Create Row
POST
https://api.starion.io/apps/:appId/tables/:tableId/rows
Create a row on the specified table
Path Parameters
Name | Type | Description |
---|---|---|
tableId | String | Table id you want to create row to |
Query Parameters
Name | Type | Description |
---|---|---|
ownerUserId | String | Required if the table is private table |
Request Body
Name | Type | Description |
---|---|---|
fields* | Object |
Update Row
PUT
https://api.starion.io/apps/:appId/tables/:tableId/rows/:rowId
Path Parameters
Name | Type | Description |
---|---|---|
tableId* | String | Table id you want to update |
rowId* | String |
Query Parameters
Name | Type | Description |
---|---|---|
ownerUserId | String | Required if the table is private table |
Request Body
Name | Type | Description |
---|---|---|
fields* | Object |
Patch Row
PATCH
https://api.starion.io/apps/:appId/tables/:tableId/rows/:rowId
Path Parameters
Name | Type | Description |
---|---|---|
tableId* | String | Table id you want to update |
rowId* | String | Row id |
Query Parameters
Name | Type | Description |
---|---|---|
ownerUserId | String | Required if the table is private table |
Delete Row
DELETE
https://api.starion.io/apps/:appId/tables/:tableId/rows/:rowId
Path Parameters
Name | Type | Description |
---|---|---|
teamId* | String | Your team id |
tableId* | String | Table id you want to update |
rowId* | String | Row id |
Query Parameters
Name | Type | Description |
---|---|---|
ownerUserId | String | Required if the table is private table |
Delete Rows
DELETE
https://api.starion.io/apps/:appId/:teamId/tables/:tableId/rows
Path Parameters
Name | Type | Description |
---|---|---|
teamId* | String | Your team id |
tableId* | String | Table id you want to update |
Query Parameters
Name | Type | Description |
---|---|---|
ownerUserId | String | Required if the table is private table |
Field Values
Field values in our API correspond to the columns in your table. When interacting with row data, the format of the returned or sent object depends on the column type. Here are the formats based on the different types:
Single line Text, Multi-line Text, Phone Number
These are represented as simple UTF-8 strings.
Single Select
An array with a single element containing the chosen value.
Multiple Select
An array with multiple elements, each element corresponding to a selected value.
Number
Numeric values such as -1.3 or 100.
Checkbox
Boolean values, either true
or false
.
Date Time
Date and time values follow the ISO-8601 format.
Attachment
An array of attachment object.
Reference to another Item in another Table
This is represented as an array of item IDs.
Examples
Last updated