mysql
POST/mysql.create
mysql-create
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
name
Requiredstring
Minimum length: 1
appName
Requiredstring
Minimum length: 1
dockerImage
string
Default: "mysql:8"
projectId
Requiredstring
description
string | null
databaseName
Requiredstring
Minimum length: 1
databaseUser
Requiredstring
Minimum length: 1
databasePassword
Requiredstring
databaseRootPassword
Requiredstring
Status code | Description |
---|---|
200 | Successful response |
default | Error response |
GET/mysql.one
mysql-one
Authorization
Authorization
RequiredBearer <token>
In: header
Query Parameters
mysqlId
Requiredstring
Status code | Description |
---|---|
200 | Successful response |
default | Error response |
POST/mysql.start
mysql-start
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
mysqlId
Requiredstring
Status code | Description |
---|---|
200 | Successful response |
default | Error response |
POST/mysql.stop
mysql-stop
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
mysqlId
Requiredstring
Status code | Description |
---|---|
200 | Successful response |
default | Error response |
POST/mysql.saveExternalPort
mysql-saveExternalPort
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
mysqlId
Requiredstring
externalPort
Requirednumber | null
Status code | Description |
---|---|
200 | Successful response |
default | Error response |
POST/mysql.deploy
mysql-deploy
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
mysqlId
Requiredstring
Status code | Description |
---|---|
200 | Successful response |
default | Error response |
POST/mysql.changeStatus
mysql-changeStatus
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
mysqlId
Requiredstring
applicationStatus
Requiredstring
Value in: "idle" | "running" | "done" | "error"
Status code | Description |
---|---|
200 | Successful response |
default | Error response |
POST/mysql.reload
mysql-reload
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
mysqlId
Requiredstring
appName
Requiredstring
Minimum length: 1
Status code | Description |
---|---|
200 | Successful response |
default | Error response |
POST/mysql.remove
mysql-remove
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
mysqlId
Requiredstring
Status code | Description |
---|---|
200 | Successful response |
default | Error response |
POST/mysql.saveEnvironment
mysql-saveEnvironment
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
mysqlId
Requiredstring
env
string | null
Status code | Description |
---|---|
200 | Successful response |
default | Error response |
POST/mysql.update
mysql-update
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
mysqlId
Requiredstring
Minimum length: 1
name
string
Minimum length: 1
appName
string
Minimum length: 1
description
string | null
databaseName
string
Minimum length: 1
databaseUser
string
Minimum length: 1
databasePassword
string
databaseRootPassword
string
dockerImage
string
Default: "mysql:8"
command
string | null
env
string | null
memoryReservation
number | null
memoryLimit
number | null
cpuReservation
number | null
cpuLimit
number | null
externalPort
number | null
applicationStatus
string
Value in: "idle" | "running" | "done" | "error"
createdAt
string
projectId
string
Status code | Description |
---|---|
200 | Successful response |
default | Error response |