Skip to main content

REST APIs for 24.2.20 and 24.2.10

Supercluster Leader

The Supercluster Leader Public Stable API method checks each PCE in a Supercluster and indicates which PCE is the leader.

Supercluster Leader API

This call is typically made by a customer's Global Server Load Balancer (GSLB) to monitor the health of the leader.

Possible results:

  • If the API returns an HTTP 202 response, the cluster where you made this call is the leader.

  • If the API returns an HTTP 404 response, then the cluster where you made this call is a member.

Get Supercluster Leader
GET [api_version]/supercluster/leader

Curl Command Get Supercluster Leader

curl -X GET 'https://pce.my-company.com:8443/api/v2/supercluster/leader' -i

The command is followed by a 200 response:

HTTP/1.1 200 OK
	Date:Thu, 08 Apr202 19:21:59 GMT
	Content-Type:application/octet-stream
	Content-Length:0
	Last-Modified: Thu, 08 Apr 0219:21:55 GMT
	ETag: "606f57d3-0"
	Accept-Ranges: bytes
	Cache-Control:private, must-revalidate
	X-Frame-Options: DENY
	X-XSS-Protection:1; mode=block
	X-Content-Type-Options:nosniff