Public
Documentation Settings

CLOUD CONNECTION INFO MGMT(v0.3.0)

GETList CloudOS(CSP)

localhost:1024/spider/cloudos
HEADERS
Content-Type

application/json

Example Request
curl
curl --location 'localhost:1024/spider/cloudos' \
--header 'Content-Type: application/json' \
--data ''
200 OK
Example Response
json
{
  "cloudos": [
    "ALIBABA",
    "AWS",
    "AZURE",
    "CLOUDIT",
    "CLOUDTWIN",
    "DOCKER",
    "GCP",
    "OPENSTACK"
  ]
}
Access-Control-Allow-Origin

*

Content-Type

application/json; charset=UTF-8

Vary

Origin

Date

Tue, 02 Jun 2020 04:40:48 GMT

Content-Length

87

POSTRegister Cloud Driver

localhost:1024/spider/driver
HEADERS
Content-Type

application/json

Bodyraw
{
    "DriverName": "aws-driver01",
    "ProviderName": "AWS",
    "DriverLibFileName": "aws-driver-v1.0.so"
}
Example Request
curl
curl --location 'localhost:1024/spider/driver' \
--header 'Content-Type: application/json' \
--data '{
    "DriverName": "aws-driver01",
    "ProviderName": "AWS",
    "DriverLibFileName": "aws-driver-v1.0.so"
}'
200 OK
Example Response
json
{
  "DriverName": "aws-driver01",
  "ProviderName": "AWS",
  "DriverLibFileName": "aws-driver-v1.0.so"
}
Access-Control-Allow-Origin

*

Content-Type

application/json; charset=UTF-8

Vary

Origin

Date

Mon, 01 Jun 2020 11:06:50 GMT

Content-Length

92

GETList Cloud Driver

localhost:1024/spider/driver
Example Request
curl
curl --location 'localhost:1024/spider/driver'
200 OK
Example Response
json
{
  "driver": [
    {
      "DriverName": "aws-driver01",
      "ProviderName": "AWS",
      "DriverLibFileName": "aws-driver-v1.0.so"
    }
  ]
}
Access-Control-Allow-Origin

*

Content-Type

application/json; charset=UTF-8

Vary

Origin

Date

Mon, 01 Jun 2020 11:08:33 GMT

Content-Length

105