Experimental

The UnixCluster API is implemented via the Unix Cluster Plugin. REST APIs provided by plugins are currently considered Experimental, and as such this interface may change without notice between minor releases.


Implementation Notes

  • Only JSON format is supported. XML format is not supported.
  • The URLs for this API use plugin syntax. (There is an extra component to the path.)

Add

To add a new Unix Cluster, use the Cluster API.


Delete

Remove a Unix Cluster.

Request Format

Method

DELETE

URL

/unix_cluster/unix_clusters/<id>.<format>

Request Body


Response Format

HTTP Status

Response Body

Description

200 Deleted


Unix Cluster deleted

400 Invalid Fields


id not provided

401 Unauthorized


Authentication required

404 Unix Cluster Unknown


id not found

500 Other Error


Unknown error


Edit

Edit an existing Unix Cluster.

Request Format

Method

PUT

URL

/unix_cluster/unix_clusters/<id>.<format>

Request Body

UnixCluster Request

Response Format

HTTP Status

Response Body

Description

200 OK


Unix Cluster updated

400 Bad Request


Unix 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 Unix Cluster Unknown


id not found

500 Other Error


Unknown error


View (all)

Retrieve all existing UnixClusters.

Request Format

Method

GET

URL

/unix_cluster/unix_clusters.<format>

Request Body


Response Format

HTTP Status

Response Body

Description

200 OK

UnixCluster Response

Unix Cluster returned

401 Unauthorized


Authentication required

500 Other Error


Unknown error


View (per Cluster)

Retrieve Unix Clusters attached to a Cluster.

Request Format

Method

GET

URL

/unix_cluster/unix_clusters.<format>?clusterid=<id>

Request Body


Response Format

200 OK

UnixCluster Response

Unix Clusters returned

401 Unauthorized


Authentication required

404 Cluster Unknown


id not found

500 Other Error


Unknown error


View (one)

Retrieve an existing Unix Cluster.

Request Format

Method

GET

URL

/unix_cluster/unix_clusters/<id>.<format>

Request Body


Response Format

HTTP Status

Response Body

Description

200 OK

UnixCluster Response

Unix Cluster returned

401 Unauthorized


Authentication required

404 UnixCluster 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