Retrieve Connection Status

get

http://{host}:{port}/veridata/v1/services/configuration/connections/{Id}/status

Required Role: Administrator, SuperUser, DetailMonitoringOperator, MonitoringOperator, CommandLineOperator

Get the connection status.

Request

Path Parameters
Query Parameters
  • Type of connection to be tested. Agent or DB, or both. Default is both.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

connection status.
Body ()
Root Schema : schema
Type: integer
O means DOWN , 1 means UP and 2 means UNKNOWN.
Allowed Values: [ 0, 1, 2 ]
Example:
1

400 Response

Bad Request.
Body ()
Root Schema : Error
Type: object
Show Source
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }

401 Response

Unauthorized.
Body ()
Root Schema : Error
Type: object
Show Source
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }

404 Response

Not Found.
Body ()
Root Schema : Error
Type: object
Show Source
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }

500 Response

Server Error.
Body ()
Root Schema : Error
Type: object
Show Source
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }
Back to Top