...
Code Block | ||
---|---|---|
| ||
GET URL: /v1/cadist/logicalcloud/{logicalcloudName} RETURN STATUS: 200 RETURN BODY: { name: "name of the logical cloud" } DELETE URL: /v1/cadist/logicalcloud/{logical cloud namelogicalcloudName} RETURN STATUS: 204 |
Cluster API's
...
Code Block | ||
---|---|---|
| ||
POST URL: /v1/cadist/logicalcloud/{logical cloud namelogicalcloudName}/cluster POST BODY: { name: "name of the cluster" //must be unique with in the logical cloud json cert fields: "required cert fields" } RETURN STATUS: 201 RETURN BODY: { lcname: "logical cloud name", cname: "name of the cluster", json bundle: "signed cert, key and chain"jsonbundle: {"rootcert: <cert>, signedcert: <cert>, prikey: <key>, chain: <certs>"} } |
GET
Code Block | ||
---|---|---|
| ||
GET URL: /v1/cadist/logicalcloud/{logical cloud namelogicalcloudName}/cluster/{cluster nameclusterName} RETURN STATUS: 200 RETURN BODY: { lcname: "logical cloud name", cname: "name of the cluster", json bundle: "signed cert, key and chain"jsonbundle: {"rootcert: <cert>, signedcert: <cert>, prikey: <key>, chain: <certs>"} } |
DELETE
Code Block | ||
---|---|---|
| ||
DELETE URL: /v1/cadist/logicalcloud/{logical cloud namelogicalcloudName}/cluster/{cluster nameclusterName} RETURN STATUS: 204 |