postgres
POST/postgres.create
postgres-create
Authorization
AuthorizationRequiredBearer <token>
In: header
Request Body
nameRequiredstring
Minimum length: 1appNameRequiredstring
databaseNameRequiredstring
Minimum length: 1databaseUserRequiredstring
Minimum length: 1databasePasswordRequiredstring
dockerImagestring
Default: "postgres:15"projectIdRequiredstring
descriptionstring | null
| Status code | Description |
|---|---|
200 | Successful response |
default | Error response |
GET/postgres.one
postgres-one
Authorization
AuthorizationRequiredBearer <token>
In: header
Query Parameters
postgresIdRequiredstring
| Status code | Description |
|---|---|
200 | Successful response |
default | Error response |
POST/postgres.start
postgres-start
Authorization
AuthorizationRequiredBearer <token>
In: header
Request Body
postgresIdRequiredstring
| Status code | Description |
|---|---|
200 | Successful response |
default | Error response |
POST/postgres.stop
postgres-stop
Authorization
AuthorizationRequiredBearer <token>
In: header
Request Body
postgresIdRequiredstring
| Status code | Description |
|---|---|
200 | Successful response |
default | Error response |
POST/postgres.saveExternalPort
postgres-saveExternalPort
Authorization
AuthorizationRequiredBearer <token>
In: header
Request Body
postgresIdRequiredstring
externalPortRequirednumber | null
| Status code | Description |
|---|---|
200 | Successful response |
default | Error response |
POST/postgres.deploy
postgres-deploy
Authorization
AuthorizationRequiredBearer <token>
In: header
Request Body
postgresIdRequiredstring
| Status code | Description |
|---|---|
200 | Successful response |
default | Error response |
POST/postgres.changeStatus
postgres-changeStatus
Authorization
AuthorizationRequiredBearer <token>
In: header
Request Body
postgresIdRequiredstring
applicationStatusRequiredstring
Value in: "idle" | "running" | "done" | "error"| Status code | Description |
|---|---|
200 | Successful response |
default | Error response |
POST/postgres.remove
postgres-remove
Authorization
AuthorizationRequiredBearer <token>
In: header
Request Body
postgresIdRequiredstring
| Status code | Description |
|---|---|
200 | Successful response |
default | Error response |
POST/postgres.saveEnvironment
postgres-saveEnvironment
Authorization
AuthorizationRequiredBearer <token>
In: header
Request Body
postgresIdRequiredstring
envstring | null
| Status code | Description |
|---|---|
200 | Successful response |
default | Error response |
POST/postgres.reload
postgres-reload
Authorization
AuthorizationRequiredBearer <token>
In: header
Request Body
postgresIdRequiredstring
appNameRequiredstring
| Status code | Description |
|---|---|
200 | Successful response |
default | Error response |
POST/postgres.update
postgres-update
Authorization
AuthorizationRequiredBearer <token>
In: header
Request Body
postgresIdRequiredstring
Minimum length: 1namestring
Minimum length: 1appNamestring
databaseNamestring
Minimum length: 1databaseUserstring
Minimum length: 1databasePasswordstring
descriptionstring | null
dockerImagestring
Default: "postgres:15"commandstring | null
envstring | null
memoryReservationnumber | null
externalPortnumber | null
memoryLimitnumber | null
cpuReservationnumber | null
cpuLimitnumber | null
applicationStatusstring
Value in: "idle" | "running" | "done" | "error"createdAtstring
projectIdstring
| Status code | Description |
|---|---|
200 | Successful response |
default | Error response |