Test the connection status
post
https://{your_site_interface}/opa-hub/api/12.2.40/connections/{connection-serviceName}/status
This operation will perform a connection test. The request consists of an empty JSON object.
Request
Path Parameters
-
connection-serviceName(required): string
The service name.
Supported Media Types
- application/json
Security
-
Authorization: apiKey
Type:
apiKeyDescription:Obtain a bearer token from https://{your_site_interface}/opa-hub/api/12.2.17/auth and use it in the Authorization header as: Bearer {token}. -
oauth2_opa: oauth2
Type:
oauth2Description:POST the OAuth2 Client Credentials parameters to https://{your_site_interface}/opa-hub/api/12.2.17/auth and use the access token from the response in the Authorization header.
Response
Supported Media Types
- application/json
200 Response
The connection was tested and the connection status returned.
Root Schema : connectionStatus
Type:
Show Source
object-
detail: string
Read Only:
trueThe detailed status of the connection. -
okFlag: boolean
Read Only:
trueTrue if the connection test succeeded, otherwise false. -
summary: string
Read Only:
trueAllowed Values:[ "No service", "No password", "Access test failed", "Access test passed" ]The summary status of the connection. -
timestamp: string
(date-time)
Read Only:
trueThe date and time of the test.