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
- 200
- 400
- 403
The service state as a number.
The service state could not be read.
The caller is not an administrator.