Skip to content

Latest commit

 

History

History
87 lines (72 loc) · 1.52 KB

README.md

File metadata and controls

87 lines (72 loc) · 1.52 KB

BoilingData Go SDK

This is considered in beta.

RUN Program

Navigate to the directory and execute the below command to run application

go run cmd/main.go

OR

If you are using visual studio and then add GO Extension

API endpoints

Localhost server end point

http://localhost:8088

Login

POST /login
Body
{
  "userName": "",
  "password": ""
}
Field Type Description
userName string Required. Boiling account Email id
password string Required. Password

Query

POST /query
Body
{
  "messageType": "SQL_QUERY",
  "sql": "SELECT * FROM parquet_scan('s3://boilingdata-demo/demo.parquet') LIMIT 20;",
  "requestId": "reqId65",
  "readCache": "NONE",
  "tags": [
    {
      "name": "CostCenter",
      "value": "930"
    },
    {
      "name": "ProjectId",
      "value": "Top secret Area 53"
    }
  ]
}

Get Signed WSS URL

POST /wssurl

Connect to websocket

POST /connect
Body
{
  "wssURL" : ""
}
Field Type Description
wssURL string Required. Signed wss url