Skip to Content
Skitflow
Generated

Postgres

Skitflow API reference for Postgres endpoints.

Postgres create

POST
/postgres.create

Authorization

Authorization
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/postgres.create" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "appName": "string",    "databaseName": "string",    "databaseUser": "string",    "databasePassword": "string",    "projectId": "string"  }'
Empty

Postgres one

GET
/postgres.one

Authorization

Authorization
AuthorizationBearer <token>

In: header

Query Parameters

postgresId*string

Response Body

application/json

application/json

curl -X GET "https://example.com/postgres.one?postgresId=string"
Empty

Postgres start

POST
/postgres.start

Authorization

Authorization
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/postgres.start" \  -H "Content-Type: application/json" \  -d '{    "postgresId": "string"  }'
Empty

Postgres stop

POST
/postgres.stop

Authorization

Authorization
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/postgres.stop" \  -H "Content-Type: application/json" \  -d '{    "postgresId": "string"  }'
Empty
POST
/postgres.saveExternalPort

Authorization

Authorization
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/postgres.saveExternalPort" \  -H "Content-Type: application/json" \  -d '{    "postgresId": "string",    "externalPort": 0  }'
Empty

Postgres deploy

POST
/postgres.deploy

Authorization

Authorization
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/postgres.deploy" \  -H "Content-Type: application/json" \  -d '{    "postgresId": "string"  }'
Empty

Postgres change Status

POST
/postgres.changeStatus

Authorization

Authorization
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/postgres.changeStatus" \  -H "Content-Type: application/json" \  -d '{    "postgresId": "string",    "applicationStatus": "idle"  }'
Empty

Postgres remove

POST
/postgres.remove

Authorization

Authorization
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/postgres.remove" \  -H "Content-Type: application/json" \  -d '{    "postgresId": "string"  }'
Empty
POST
/postgres.saveEnvironment

Authorization

Authorization
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/postgres.saveEnvironment" \  -H "Content-Type: application/json" \  -d '{    "postgresId": "string"  }'
Empty

Postgres reload

POST
/postgres.reload

Authorization

Authorization
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/postgres.reload" \  -H "Content-Type: application/json" \  -d '{    "postgresId": "string",    "appName": "string"  }'
Empty

Postgres update

POST
/postgres.update

Authorization

Authorization
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/postgres.update" \  -H "Content-Type: application/json" \  -d '{    "postgresId": "string"  }'
Empty