POST
/
api
/
v1
/
sources
/
add
/
singlestore
/
Add SingleStore connection
curl --request POST \
  --url https://api.camelai.com/api/v1/sources/add/singlestore/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "singlestore",
  "hostname": "localhost",
  "port": 3333,
  "username": "root",
  "password": "password",
  "database_name": "mydb"
}'
{
  "id": 123
}

Authorizations

Authorization
string
header
required

JWT or API key authentication using Bearer scheme

Body

application/json

Serializer for SingleStore connection configuration.

Response

200
application/json

The response is of type object.