cURL
curl --request POST \ --url https://api.camelai.com/api/v1/sources/add/mysql/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "type": "mysql", "hostname": "localhost", "port": 3306, "username": "root", "password": "password", "database_name": "mydb" }'
{ "id": 123 }
Create a new MySQL database connection.
JWT or API key authentication using Bearer scheme
Serializer for MySQL connection configuration.
The response is of type object.
object
Was this page helpful?