Перейти к основному содержимому

Dedicated Servers API (1.117.0)

Managing dedicated servers: server information, billing options, power supply, OS load, networks, consumption, and more

Dashboard

Dashboard

Get api info

Authorizations:
keystone_tokenselectel_token

Responses

Response samples

Content type
application/json
{
  • "execution_time": 0,
  • "item_count": 0,
  • "limit": 0,
  • "page": 0,
  • "progress": 0,
  • "result": {
    },
  • "status": "string",
  • "task_id": "00000000-0000-0000-A000-000000000000"
}

Get current maintenance status

Authorizations:
keystone_tokenselectel_token

Responses

Response samples

Content type
application/json
{
  • "execution_time": 0,
  • "item_count": 0,
  • "limit": 0,
  • "page": 0,
  • "progress": 0,
  • "result": {
    },
  • "status": "string",
  • "task_id": "00000000-0000-0000-A000-000000000000"
}

Get current active tasks

Authorizations:
keystone_tokenselectel_token

Responses

Response samples

Content type
application/json
{
  • "execution_time": 0,
  • "item_count": 0,
  • "limit": 0,
  • "page": 0,
  • "progress": 0,
  • "result": [
    ],
  • "status": "string",
  • "task_id": "00000000-0000-0000-A000-000000000000"
}

Locations

Locations namespace

List locations

Authorizations:
keystone_tokenselectel_token

Responses

Response samples

Content type
application/json
{
  • "execution_time": 0,
  • "item_count": 0,
  • "limit": 0,
  • "page": 0,
  • "progress": 0,
  • "result": [
    ],
  • "status": "string",
  • "task_id": "00000000-0000-0000-A000-000000000000"
}

Show location info

Authorizations:
keystone_tokenselectel_token
path Parameters
uuid
required
string

Responses

Response samples

Content type
application/json
{
  • "execution_time": 0,
  • "item_count": 0,
  • "limit": 0,
  • "page": 0,
  • "progress": 0,
  • "result": {
    },
  • "status": "string",
  • "task_id": "00000000-0000-0000-A000-000000000000"
}

Services

Services namespace

List services

Authorizations:
keystone_tokenselectel_token
query Parameters
is_hidden
boolean

hidden from view

sort
string
Default: "created"
Enum: "created" "name"
order
string
Default: "asc"
Enum: "desc" "asc"

Order direction: ["desc", "asc"]

is_primary
boolean
state
string

billing state

model
string
Enum: "default" "colocation" "server" "serverchip" "custom" "rack" "network" "equipment" "firewall" "port" "network_equipment" "service" "software"

service model

Responses

Response samples

Content type
application/json
{
  • "execution_time": 0,
  • "item_count": 0,
  • "limit": 0,
  • "page": 0,
  • "progress": 0,
  • "result": [
    ],
  • "status": "string",
  • "task_id": "00000000-0000-0000-A000-000000000000"
}

List colocation services

Authorizations:
keystone_tokenselectel_token
query Parameters
is_hidden
boolean

hidden from view

sort
string
Default: "created"
Enum: "created" "name"
order
string
Default: "asc"
Enum: "desc" "asc"

Order direction: ["desc", "asc"]

Responses

Response samples

Content type
application/json
{
  • "execution_time": 0,
  • "item_count": 0,
  • "limit": 0,
  • "page": 0,
  • "progress": 0,
  • "result": [
    ],
  • "status": "string",
  • "task_id": "00000000-0000-0000-A000-000000000000"
}

Show colocation service

Authorizations:
keystone_tokenselectel_token
path Parameters
uuid
required
string

Responses

Response samples

Content type
application/json
{
  • "execution_time": 0,
  • "item_count": 0,
  • "limit": 0,
  • "page": 0,
  • "progress": 0,
  • "result": {
    },
  • "status": "string",
  • "task_id": "00000000-0000-0000-A000-000000000000"
}

Calculate Service billing

Authorizations:
keystone_tokenselectel_token
path Parameters
uuid
required
string
Request Body schema: application/json
required
campaign_uuid
string = 36 characters
location_uuid
required
string = 36 characters
pay_day
integer [ 1 .. 28 ]
price_plan_uuid
required
string = 36 characters
quantity
integer >= 1
Default: 1

Responses

Request samples

Content type
application/json
{
  • "campaign_uuid": "00000000-0000-0000-A000-000000000000",
  • "location_uuid": "00000000-0000-0000-A000-000000000000",
  • "pay_day": 1,
  • "price_plan_uuid": "00000000-0000-0000-A000-000000000000",
  • "quantity": 1
}

Response samples

Content type
application/json
{
  • "execution_time": 0,
  • "item_count": 0,
  • "limit": 0,
  • "page": 0,
  • "progress": 0,
  • "result": {
    },
  • "status": "string",
  • "task_id": "00000000-0000-0000-A000-000000000000"
}

List custom servers

Authorizations:
keystone_tokenselectel_token
query Parameters
is_hidden
boolean

hidden from view

sort
string
Default: "created"
Enum: "created" "name"
order
string
Default: "asc"
Enum: "desc" "asc"

Order direction: ["desc", "asc"]

Responses

Response samples

Content type
application/json
{
  • "execution_time": 0,
  • "item_count": 0,
  • "limit": 0,
  • "page": 0,
  • "progress": 0,
  • "result": [
    ],
  • "status": "string",
  • "task_id": "00000000-0000-0000-A000-000000000000"
}

Show custom server details

Authorizations:
keystone_tokenselectel_token
path Parameters
uuid
required
string

Responses

Response samples

Content type
application/json
{
  • "execution_time": 0,
  • "item_count": 0,
  • "limit": 0,
  • "page": 0,
  • "progress": 0,
  • "result": {
    },
  • "status": "string",
  • "task_id": "00000000-0000-0000-A000-000000000000"
}

Calculate Service billing

Authorizations:
keystone_tokenselectel_token
path Parameters
uuid
required
string
Request Body schema: application/json
required
campaign_uuid
string = 36 characters
location_uuid
required
string = 36 characters
pay_day
integer [ 1 .. 28 ]
price_plan_uuid
required
string = 36 characters
quantity
integer >= 1
Default: 1
Array of objects (ConfigCompactModel)
template_service_uuid
string = 36 characters

Responses

Request samples

Content type
application/json
{
  • "campaign_uuid": "00000000-0000-0000-A000-000000000000",
  • "location_uuid": "00000000-0000-0000-A000-000000000000",
  • "pay_day": 1,
  • "price_plan_uuid": "00000000-0000-0000-A000-000000000000",
  • "quantity": 1,
  • "config": [
    ],
  • "template_service_uuid": "00000000-0000-0000-A000-000000000000"
}

Response samples

Content type
application/json
{
  • "execution_time": 0,
  • "item_count": 0,
  • "limit": 0,
  • "page": 0,
  • "progress": 0,
  • "result": {
    },
  • "status": "string",
  • "task_id": "00000000-0000-0000-A000-000000000000"
}

Calculate Service resource upgrade billing

Authorizations:
keystone_tokenselectel_token
path Parameters
uuid
required
string
Request Body schema: application/json
required
Array of objects (ConfigCompactModel)
resource_uuid
required
string = 36 characters

Responses

Request samples

Content type
application/json
{
  • "config": [
    ],
  • "resource_uuid": "00000000-0000-0000-A000-000000000000"
}

Response samples

Content type
application/json
{
  • "execution_time": 0,
  • "item_count": 0,
  • "limit": 0,
  • "page": 0,
  • "progress": 0,
  • "result": {
    },
  • "status": "string",
  • "task_id": "00000000-0000-0000-A000-000000000000"
}

List firewall services

Authorizations:
keystone_tokenselectel_token
query Parameters
is_hidden
boolean

hidden from view

sort
string
Default: "created"
Enum: "created" "name"
order
string
Default: "asc"
Enum: "desc" "asc"

Order direction: ["desc", "asc"]

Responses

Response samples

Content type
application/json
{
  • "execution_time": 0,
  • "item_count": 0,
  • "limit": 0,
  • "page": 0,
  • "progress": 0,
  • "result": [
    ],
  • "status": "string",
  • "task_id": "00000000-0000-0000-A000-000000000000"
}

Show firewall service

Authorizations:
keystone_tokenselectel_token
path Parameters
uuid
required
string

Responses

Response samples

Content type
application/json
{
  • "execution_time": 0,
  • "item_count": 0,
  • "limit": 0,
  • "page": 0,
  • "progress": 0,
  • "result": {
    },
  • "status": "string",
  • "task_id": "00000000-0000-0000-A000-000000000000"
}

List network

Authorizations:
keystone_tokenselectel_token
query Parameters
is_hidden
boolean

hidden from view

state
string

billing state

sort
string
Default: "created"
Enum: "created" "name"
order
string
Default: "asc"
Enum: "desc" "asc"

Order direction: ["desc", "asc"]

Responses

Response samples

Content type
application/json
{
  • "execution_time": 0,
  • "item_count": 0,
  • "limit": 0,
  • "page": 0,
  • "progress": 0,
  • "result": [
    ],
  • "status": "string",
  • "task_id": "00000000-0000-0000-A000-000000000000"
}

Show network details

Authorizations:
keystone_tokenselectel_token
path Parameters
uuid
required
string

Responses