Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Table of Contents



Logical Cloud API's


POST

Code Block
titlePOST
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

Code Block
titleGET,DELETE
GET
URL: /v1/cadist/logicalcloud/{logical cloud name}

RETURN STATUS: 200
RETURN BODY:
{
  name: "name of the logical cloud" //must be unique
}

DELETE
URL: /v1/cadist/logicalcloud/{logical cloud name}

RETURN STATUS: 204


Cluster API's


POST

Code Block
titlePOST
POST
URL: /v1/cadist/logicalcloud/{logical cloud name}/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: 
{
  name: "name of the cluster"
  json bundle: "signed cert, key and chain"
} 


GET

Code Block
titleGET
GET
URL: /v1/cadist/logicalcloud/{logical cloud name}/cluster/{cluster name}

RETURN STATUS: 200
RETURN BODY:
{
  name: "name of the cluster"
  json bundle: "signed cert, key and chain"
} 


DELETE

Code Block
titleDELETE
DELETE
URL: /v1/cadist/logicalcloud/{logical cloud name}/cluster/{cluster name}

RETURN STATUS: 204