Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get all cluster nodes

Returns all nodes in cluster.

GET/api/2/cluster/nodes
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Responses
200

Returns a list of all nodes in the cluster.

aliveboolean
cacheListenerPortinteger<int64>
ipstring
lastStateChangeTimestampinteger<int64>
nodeBuildNumberinteger<int64>
nodeIdstring
nodeVersionstring
statestring
Allowed:ACTIVEPASSIVEACTIVATINGPASSIVATINGOFFLINE
401

Returned if the user doesn't have admin permissions

405

Returned if you call this method, but don't have Jira Data Center

Try it
Server
Authorization
Request
curl -X GET 'http://jira.example.com/rest/api/2/cluster/nodes' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "alive": true,
  "cacheListenerPort": 0,
  "ip": "string",
  "lastStateChangeTimestamp": 0,
  "nodeBuildNumber": 0,
  "nodeId": "string",
  "nodeVersion": "string",
  "state": "ACTIVE"
}

Was this page helpful?