Version 4.0.24.18 (latest)
List databases available to this connection
Certain dialects can support multiple databases per single connection. If this connection supports multiple databases, the database names will be returned in an array.
Connections using dialects that do not support multiple databases will return an empty array.
Note: Connection Features can be used to determine if a connection supports multiple databases.
Request
GET
/connections/{connection_name}/databases
Datatype
Description
Request
path
Expand HTTP Path definition...
connection_name
Name of connection
Response
200: Database names
Datatype
Description
(array)
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