postgres
POST/postgres.create
postgres-create
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
name
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
Status code | Description |
---|---|
200 | Successful response |
default | Error response |
GET/postgres.one
postgres-one
Authorization
Authorization
RequiredBearer <token>
In: header
Query Parameters
postgresId
Requiredstring
Status code | Description |
---|---|
200 | Successful response |
default | Error response |
POST/postgres.start
postgres-start
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
postgresId
Requiredstring
Status code | Description |
---|---|
200 | Successful response |
default | Error response |
POST/postgres.stop
postgres-stop
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
postgresId
Requiredstring
Status code | Description |
---|---|
200 | Successful response |
default | Error response |
POST/postgres.saveExternalPort
postgres-saveExternalPort
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
postgresId
Requiredstring
externalPort
Requirednumber | null
Status code | Description |
---|---|
200 | Successful response |
default | Error response |
POST/postgres.deploy
postgres-deploy
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
postgresId
Requiredstring
Status code | Description |
---|---|
200 | Successful response |
default | Error response |
POST/postgres.changeStatus
postgres-changeStatus
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
postgresId
Requiredstring
applicationStatus
Requiredstring
Value in: "idle" | "running" | "done" | "error"
Status code | Description |
---|---|
200 | Successful response |
default | Error response |
POST/postgres.remove
postgres-remove
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
postgresId
Requiredstring
Status code | Description |
---|---|
200 | Successful response |
default | Error response |
POST/postgres.saveEnvironment
postgres-saveEnvironment
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
postgresId
Requiredstring
env
string | null
Status code | Description |
---|---|
200 | Successful response |
default | Error response |
POST/postgres.reload
postgres-reload
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
postgresId
Requiredstring
appName
Requiredstring
Status code | Description |
---|---|
200 | Successful response |
default | Error response |
POST/postgres.update
postgres-update
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
postgresId
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
Status code | Description |
---|---|
200 | Successful response |
default | Error response |