Properties
NAME | TYPE | DESCRIPTION |
$id | string | Table ID. |
$createdAt | string | Table creation date in ISO 8601 format. |
$updatedAt | string | Table update date in ISO 8601 format. |
$permissions | array | Table permissions. Learn more about permissions. |
databaseId | string | Database ID. |
name | string | Table name. |
enabled | boolean | Table enabled. Can be 'enabled' or 'disabled'. When disabled, the table is inaccessible to users, but remains accessible to Server SDKs using API keys. |
rowSecurity | boolean | Whether row-level permissions are enabled. Learn more about permissions. |
columns | array | Table columns. Can be one of:ColumnBoolean model, ColumnInteger model, ColumnFloat model, ColumnEmail model, ColumnEnum model, ColumnURL model, ColumnIP model, ColumnDatetime model, ColumnRelationship model, ColumnString model |
indexes | array | Table indexes. Can be one of: |
Example
JSON
{
"$id": "5e5ea5c16897e",
"$createdAt": "2020-10-15T06:38:00.000+00:00",
"$updatedAt": "2020-10-15T06:38:00.000+00:00",
"$permissions": [
"read(\"any\")"
],
"databaseId": "5e5ea5c16897e",
"name": "My Table",
"enabled": false,
"rowSecurity": true,
"columns": {},
"indexes": {}
}
JSON
{
"_id": "5e5ea5c16897e",
"_createdAt": "2020-10-15T06:38:00.000+00:00",
"_updatedAt": "2020-10-15T06:38:00.000+00:00",
"_permissions": [
"read(\"any\")"
],
"databaseId": "5e5ea5c16897e",
"name": "My Table",
"enabled": false,
"rowSecurity": true,
"columns": {},
"indexes": {}
}