Postgres
POST
/
postgres.create
Postgres create
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
application/json
Requiredname
Requiredstring
Minimum length:
1
appName
Requiredstring
databaseName
Requiredstring
Minimum length:
1
databaseUser
Requiredstring
Minimum length:
1
databasePassword
Requiredstring
dockerImage
string
Default:
"postgres:15"
projectId
Requiredstring
description
string | null
serverId
string | null
Successful response
GET
/
postgres.one
Postgres one
Authorization
Authorization
RequiredBearer <token>
In: header
Query Parameters
postgresId
Requiredstring
Successful response
POST
/
postgres.start
Postgres start
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
application/json
RequiredpostgresId
Requiredstring
Successful response
POST
/
postgres.stop
Postgres stop
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
application/json
RequiredpostgresId
Requiredstring
Successful response
POST
/
postgres.saveExternalPort
Postgres save External Port
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
application/json
RequiredpostgresId
Requiredstring
externalPort
Requirednumber | null
Successful response
POST
/
postgres.deploy
Postgres deploy
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
application/json
RequiredpostgresId
Requiredstring
Successful response
POST
/
postgres.changeStatus
Postgres change Status
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
application/json
RequiredpostgresId
Requiredstring
applicationStatus
Requiredstring
Value in:
"idle" | "running" | "done" | "error"
Successful response
POST
/
postgres.remove
Postgres remove
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
application/json
RequiredpostgresId
Requiredstring
Successful response
POST
/
postgres.saveEnvironment
Postgres save Environment
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
application/json
RequiredpostgresId
Requiredstring
env
string | null
Successful response
POST
/
postgres.reload
Postgres reload
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
application/json
RequiredpostgresId
Requiredstring
appName
Requiredstring
Successful response
POST
/
postgres.update
Postgres update
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
application/json
RequiredpostgresId
Requiredstring
Minimum length:
1
name
string
Minimum length:
1
appName
string
databaseName
string
Minimum length:
1
databaseUser
string
Minimum length:
1
databasePassword
string
description
string | null
dockerImage
string
Default:
"postgres:15"
command
string | null
env
string | null
memoryReservation
number | null
externalPort
number | null
memoryLimit
number | null
cpuReservation
number | null
cpuLimit
number | null
applicationStatus
string
Value in:
"idle" | "running" | "done" | "error"
createdAt
string
projectId
string
Successful response