Dev DB

Create

Create a new Dev DB record.

post/api/cp/dev/db

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

statusstring

Operation status

Example response

{
  "id": 12345,
  "status": "OK"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.