API Specification
- 1 Project API's
- 1.1 POST
- 1.1.1 POST
- 1.2 GET, DELETE
- 1.2.1 GET,DELETE
- 1.1 POST
- 2 Logical Cloud API's
- 2.1 POST
- 2.1.1 POST
- 2.2 GET, DELETE
- 2.2.1 GET,DELETE
- 2.1 POST
- 3 Cluster API's
Project API's
POST
POST
POST
URL: /v2/cadist/projects
POST BODY:
{
"pname": "name of the project" //must be unique
"description": "<description>"
"casignerin": {"rootcert": <cert>, "signedcert": <cert>, "prikey": <key>, "chain": <certs>}
}
RETURN STATUS: 201
RETURN BODY:
{
"pname": "name of the project"
"description": "<description>"
}
GET, DELETE
GET,DELETE
GET
URL: /v2/cadist/projects/{project-name}
RETURN STATUS: 200
RETURN BODY:
{
"pname": "name of Project" //must be unique
"description": "<description>"
}
DELETE
URL: /v1/cadist/projects/{project-name}
RETURN STATUS: 204
Logical Cloud API's
POST
POST
POST
URL: /v2/cadist/projects/{project-name}/logicalclouds
POST BODY:
{
"lcname": "name of the logical cloud" //must be unique with in the project
"description": "<description>"
}
RETURN STATUS: 201
RETURN BODY:
{
"lcname": "name of the logical cloud"
"description": "<description>"
}