Skip to main content

Get the database service status

GET 

/api/v1/Postgres/ServerStatus

Returns the current state of the PostgreSQL database service on the server that handles the request, as a number.

Permission required: Requires the Admin role.

Values for (response): 1 = Stopped, 2 = StartPending, 3 = StopPending, 4 = Running, 5 = ContinuePending, 6 = PausePending, 7 = Paused.

Caution: The value reflects only the server that answers the call and can change at any time.

Request​

Responses​

The service state as a number.