Support
Log In
Connections

Create SQL source from statement (per-package)

Creates a Malloy source from a SQL statement using the specified connection, resolved in the context of the named package.

POST/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlSource

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

environmentName*string

Name of the environment

Match^[a-zA-Z0-9_-]+$
packageName*string

Name of the package whose connection context to use

Match^[a-zA-Z0-9_-]+$
connectionName*string

Name of the connection

Match^[a-zA-Z0-9_-]+$

Request Body

application/json

SQL statement to fetch the SQL source

Response Body

application/json

application/json

application/json

application/json

application/json