Sql

Handle Initialize Authorization

post

Handle integration initialization request.

Body
or
Responses
chevron-right
200

Successful Response

application/json
Responseany
post
/connectors/sql/integrations

No content

Handle Get Integration

get

Handle get integration request.

Path parameters
user_identifierstringRequired
Responses
chevron-right
200

Successful Response

application/json
Responseany
get
/connectors/sql/integrations/{user_identifier}

No content

Handle Select Integration

post

Handle integration selection request.

Path parameters
user_identifierstringRequired
Responses
chevron-right
200

Successful Response

application/json
Responseany
post
/connectors/sql/integrations/{user_identifier}

No content

Handle Remove Integration

delete

Handle integration removal request.

Path parameters
user_identifierstringRequired
Responses
chevron-right
200

Successful Response

application/json
Responseany
delete
/connectors/sql/integrations/{user_identifier}

No content

Handle User Has Integration

get

Handle user integration existence check.

Responses
chevron-right
200

Successful Response

application/json
Responseany
get
/connectors/sql/integration-exists
200

Successful Response

No content

Auth Schema

get

Handle authentication schema request.

Responses
chevron-right
200

Successful Response

application/json
Responseany
get
/connectors/sql/auth-schema
200

Successful Response

No content

Success Authorize Callback

get

Handle successful authorization callback.

Responses
chevron-right
200

Successful Response

application/json
Responseany
get
/connectors/sql/success-authorize-callback
200

Successful Response

No content

Query

post

Handles the POST request to execute an SQL query.

This method is mapped to the POST route "/query". It processes an incoming SQL query request, applying the necessary headers for response handling. The function does not return any output or perform any visible action since its functionality is not provided in the code.

Args: request (SQLQueryRequest): The SQL query request object containing the details of the query to be executed. headers (ExposedDefaultHeaders): The headers to be applied, which may include information for response management.

Returns: The result of the SQL Query.

Body

The SQL query request.

Response fields are not supported for this request, use appropriate SQL query to get the desired fields.

querystringRequired

The SQL query to be executed.

variablesany ofOptional

Variables to be passed to the query. Defaults to None.

or
nullOptional
Responses
chevron-right
200

Successful Response

application/json
post
/connectors/sql/query

Last updated