Logical Cloud API's
POST
POST
POST URL: /v1/cadist/logicalcloud POST BODY: { name: "name of the logical cloud" //must be unique } RETURN STATUS: 201 RETURN BODY: { name: "name of the logical cloud" }
GET, DELETE
GET,DELETE
GET URL: /v1/cadist/logicalcloud/{logicalcloudName} RETURN STATUS: 200 RETURN BODY: { name: "name of the logical cloud" } DELETE URL: /v1/cadist/logicalcloud/{logicalcloudName} RETURN STATUS: 204
Cluster API's
POST
POST
POST URL: /v1/cadist/logicalcloud/{logicalcloudName}/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", jsonbundle: {rootcert: <cert>, signedcert: <cert>, prikey: <key>, chain: <certs>} }
GET
GET
GET URL: /v1/cadist/logicalcloud/{logicalcloudName}/cluster/{clusterName} RETURN STATUS: 200 RETURN BODY: { lcname: "logical cloud name", cname: "name of the cluster", jsonbundle: {rootcert: <cert>, signedcert: <cert>, prikey: <key>, chain: <certs>} }
DELETE
DELETE
DELETE URL: /v1/cadist/logicalcloud/{logicalcloudName}/cluster/{clusterName} RETURN STATUS: 204