Dedicated Hypervisor API reference (1.0.0)

Download OpenAPI specification:Download

This manual explains how to use the Smart Data Platform Dedicated Hypervisor API

Servers

The following API manages to create, list and delete specified servers.

List Servers

This API shows your dedicated hypervisors information.

path Parameters
tenant_id
required
string
Example: aaa8749130bc3d2886d6b9bb3fcb1715

ID of the tenant

query Parameters
changes-since
string <date-time>

A time/date stamp for when the server last changed status.

marker
string <uuid>

UUID of the server at which you want to set a marker. Find servers from the next UUID of the given one.

limit
integer

Integer value for the limit of values to return.

name
string

Name of the server as a string.

image
string

Name of the image in URL format. This parameter can be obtained by GET /images API.

flavor
string

Name of the flavor in URL format. This parameter can be obtained by GET /flavors API.

status
string

Value of the status of the server so that you can filter on.

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

405

request URL or method is invalid

500

Internal Server Error

get/servers
https://{api_endpoint}/v1.0/{tenant_id}/servers

Response samples

Content type
application/json
Copy
Expand all Collapse all
{}

Create Server

This API create additional vsphere server.

path Parameters
tenant_id
required
string

ID of the tenant

Request Body schema: application/json
server
object

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

405

request URL or method is invalid

500

Internal Server Error

503

Service Unavailable

post/servers
https://{api_endpoint}/v1.0/{tenant_id}/servers

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "server":
    {
    }
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{}

List Servers Detail

This API shows your dedicated hypervisors information in detail.

path Parameters
tenant_id
required
string
Example: aaa8749130bc3d2886d6b9bb3fcb1715

ID of the tenant

query Parameters
changes-since
string <date-time>

A time/date stamp for when the server last changed status.

marker
string <uuid>

UUID of the server at which you want to set a marker. Find servers from the next UUID of the given one.

limit
integer

Integer value for the limit of values to return.

name
string

Name of the server as a string.

image
string

Name of the image in URL format. This parameter can be obtained by GET /images API.

flavor
string

Name of the flavor in URL format. This parameter can be obtained by GET /flavors API.

status
string

Value of the status of the server so that you can filter on.

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

405

request URL or method is invalid

500

Internal Server Error

get/servers/detail
https://{api_endpoint}/v1.0/{tenant_id}/servers/detail

Response samples

Content type
application/json
Copy
Expand all Collapse all
{}

Show Server

This API shows your dedicated hypervisor information.

path Parameters
tenant_id
required
string
Example: aaa8749130bc3d2886d6b9bb3fcb1715

ID of the tenant

server_id
required
string <uuid>

ID of the server

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

405

request URL or method is invalid

500

Internal Server Error

get/servers/{server_id}
https://{api_endpoint}/v1.0/{tenant_id}/servers/{server_id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "server":
    {