getSchema()
Description
Get a table schema in JSON format.
Request
Parameters
Field | Required | Data Type | Description |
---|---|---|---|
options | Object | Options Object describing filtering, sorting, and other options |
Options Object Parameters
Field | Required | Data Type | Description |
---|---|---|---|
table | string | Table name | |
database |
| Currently accepts only "default" value, but with multiple databases per project feature coming soon, it will be accepting the name of the database to extract the configs from. Default: "default" | |
format |
| Specify the format of how the database schema is to be returned.
|
Example
Response
An object containing the data schema of a given table.
Example
default
formatted
Last updated