Get Specific Cluster
This endpoint returns an instance of a cluster.
GET /openapi/v1/clusters/{cluster_id}
Parameters: The request URL contains the following parameters
Name |
Type |
Description |
---|---|---|
cluster_id |
string |
Unique identifier for the cluster. |
include_inventory |
boolean |
Include the inventory of the clusters. |
Response object: Returns the cluster object associated for the specified ID.
Sample python code
cluster_id = '5d02d021497d4f0949ba74e4'
restclient.get('/clusters/%s' % cluster_id)