Skip to content

Latest commit

 

History

History
executable file
·
40 lines (22 loc) · 1.51 KB

UtilsApi.md

File metadata and controls

executable file
·
40 lines (22 loc) · 1.51 KB

\UtilsApi

All URIs are relative to http://127.0.0.1:9308

Method HTTP request Description
sql Post /sql Perform SQL requests

sql

crate::models::SqlResponse sql(body, raw_response) Perform SQL requests

Run a query in SQL format. Expects a query string passed through body parameter and optional raw_response parameter that defines a format of response. raw_response can be set to False for Select queries only, e.g., SELECT * FROM mytable The query string must stay as it is, no URL encoding is needed. The response object depends on the query executed. In select mode the response has same format as /search operation.

Parameters

Name Type Description Required Notes
body String A query parameter string. [required]
raw_response Option<bool> Optional parameter, defines a format of response. Can be set to False for Select only queries and set to True for any type of queries. Default value is 'True'. [default to true]

Return type

crate::models::SqlResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: text/plain
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]