Cluster mediator-ping endpoint overview
Overview
You can use this API to ping the BlueXP cloud service. The POST operation retrieves the details about service reachability, configurability, and ping latency.
Performing a ping operation
You can perform a ping operation by issuing a POST request on /cluster/mediator-ping. Parameters are provided in the body of the POST request. There is only one required parameter.
Required configuration fields
These fields are always required for any POST /cluster/mediator-ping request.
-
type
- Specifies the type of the mediator.
Examples
POST request body for a ping to the BlueXP cloud service.
# API /api/cluster/mediator-ping
POST request body from a file
ping_post_body.txt: { "type": "cloud" } curl -X POST https://<mgmt-ip>/api/cluster/mediator-ping -d "@ping_post_body.txt"
Inline POST request body
curl -X POST https://<mgmt-ip>/api/cluste/mediator-ping -d '{"type":"cloud"}'
POST request response
HTTP/1.1 200 OK Cache-Control: no-cache,no-store,must-revalidate Connection: close Date: Mon, 03 Mar 2025 16:40:20 GMT Server: libzapid-httpd Vary: Accept-Encoding,Origin Content-Length: 69 Content-Type: application/hal+json Client-Date: Mon, 03 Mar 2025 16:40:20 GMT Client-Peer: 10.235.144.44:80 Client-Response-Num: 1 Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-ancestors: 'self' X-Content-Type-Options: nosniff { "reachable": true, "latency_ms": 50, "configurable": true, "high_latency": false, "proxy_configured": true, "proxy_used": true, "timeout_occurred": false }