Dev DB

SQL

SQL

post/api/cp/dev/db/sql(/{db)}

Path parameters

db)string required

Db identifier

Request body

idstring

Id

app_idstring required

App Id (references app.id)

type'mysql' required

Type

hoststring required

Host

portstring required

Port

usernamestring required

Username

passwordstring password required

Password

Example request

{
  "id": 12345,
  "app_id": 1,
  "type": "mysql",
  "host": "example_host",
  "port": "example_port",
  "username": "john_doe",
  "password": "********"
}

Response

Successful response

{"stackTrail":"paths:/api/cp/dev/db/sql(/{db)}:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes