The Cluster API does not support XML format.

Add

Add a new Cluster.

Request Format

Method

POST

URL

/clusters.<format>

Request Body

Cluster Request

Response Format

HTTP Status

Response Body

Description

201 Added

NewObjectResponse with ObjectType of Cluster

Cluster added

400 Bad Request


Cluster Request not provided in POST body

400 Invalid Fields

ErrorResponse with details in InvalidFields element

An error in one or more provided fields

401 Unauthorized


Authentication required

500 Other Error


Unknown error


Delete

Remove a Cluster.

Request Format

Method

DELETE

URL

/clusters/<id>.<format>

Request Body


Response Format

HTTP Status

Response Body

Description

200 Deleted


Cluster deleted

400 Invalid Fields


id not provided

401 Unauthorized


Authentication required

404 Cluster Unknown


id not found

500 Other Error


Unknown error


Edit

Edit an existing Cluster.

Request Format

Method

PUT

URL

/clusters/<id>.<format>

Request Body

Cluster Request

Response Format

HTTP Status

Response Body

Description

200 OK


Cluster updated

400 Bad Request


Cluster Request not provided in POST body

400 Invalid Fields

ErrorResponse with details in InvalidFields element

An error in one or more provided fields

401 Unauthorized


Authentication required

404 Cluster Unknown


id not found

500 Other Error


Unknown error


View (all)

Retrieve all existing Clusters.

Request Format

Method

GET

URL

/clusters.<format>

Request Body


Response Format

HTTP Status

Response Body

Description

200 OK

Cluster Response

Cluster returned

401 Unauthorized


Authentication required

500 Other Error


Unknown error


View (per CO)

Retrieve Clusters attached to a CO.

Request Format

Method

GET

URL

/clusters.<format>?coid=<id>

Request Body


Response Format

200 OK

Cluster Response

Clusters returned

401 Unauthorized


Authentication required

404 CO Unknown


id not found

500 Other Error


Unknown error


View (one)

Retrieve an existing Cluster.

Request Format

Method

GET

URL

/clusters/<id>.<format>

Request Body


Response Format

HTTP Status

Response Body

Description

200 OK

Cluster Response

Cluster returned

401 Unauthorized


Authentication required

404 Cluster Unknown


id not found

500 Other Error


Unknown error


Notes

  • Response format requested is ignored where response is only via HTTP status, but must still be provided.

See Also

  • No labels