Version 4.0.24.18 (latest)
Get the list of tables for a schema
For dialects that support multiple databases, optionally identify which to use. If not provided, the default database for the connection will be used.
For dialects that do not support multiple databases, do not use the database parameter
Request
GET
/connections/{connection_name}/tables
Datatype
Description
Request
path
Expand HTTP Path definition...
connection_name
Name of connection
query
Expand HTTP Query definition...
database
Optional. Name of database to use for the query, only if applicable
schema_name
Optional. Return only tables for this schema
cache
True to fetch from cache, false to load fresh
fields
Requested fields.
table_filter
Optional. Return tables with names that contain this value
table_limit
Optional. Return tables up to the table_limit
Response
200: Schemas and tables for connection
Datatype
Description
(array)
name
lock
Schema name
is_default
lock
True if this is the default schema
tables
Expand SchemaTable definition...
name
lock
Schema item name
sql_escaped_name
lock
Full name of item
schema_name
lock
Name of schema
rows
lock
Number of data rows
external
lock
External reference???
snippets
Expand Snippet definition...
name
lock
Name of the snippet
label
lock
Label of the snippet
sql
lock
SQL text of the snippet
table_limit_hit
lock
True if the table limit was hit while retrieving tables in this schema
400: Bad Request
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
404: Not Found
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
422: Validation Error
Datatype
Description
(object)
message
lock
Error details
errors
Expand ValidationErrorDetail definition...
field
lock
Field with error
code
lock
Error code
message
lock
Error info message
documentation_url
lock
Documentation link
documentation_url
lock
Documentation link
429: Too Many Requests
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link