View a Cluster on Oracle OCI

GET /api/v2/clusters/<cluster ID>

Use this API to view a specific cluster’s information/configuration.

Required Role

The following users can make this API call:

  • Users who belong to the system-user or system-admin group.
  • Users who belong to a group associated with a role that allows creating a cluster. See Managing Groups and Managing Roles for more information.

Parameters

None

Request API Syntax

curl -X GET -H "X-AUTH-TOKEN:$X_AUTH_TOKEN" -H "Content-Type:application/json" -H "Accept: application/json" \
"https://oraclecloud.qubole.com/api/v2/clusters/<cluster-ID>"

Sample API Request

Here is a sample request to view the cluster configuration that has 100 as its ID.

curl -X GET -H "X-AUTH-TOKEN:$X_AUTH_TOKEN" -H "Content-Type:application/json" -H "Accept: application/json" \
"https://oraclecloud.qubole.com/api/v2/clusters/100"