Client
ID of the client
42UUID of the server
550e8400-e29b-41d4-a716-446655440000Successful operation
Unauthenticated
Server not found
GET /api/v1/client/{clientId}/server/{serverUuid} HTTP/1.1
X-API-Key: YOUR_API_KEY
Accept: */*
{
"server": {
"metal_server_uuid": "550e8400-e29b-41d4-a716-446655440000",
"inventory_id": 5678,
"instance_type": {
"id": 129,
"name": "bm7.std.8"
},
"location": {
"id": 18,
"name": "EU: Rotterdam"
},
"created_at": "2024-01-01 12:00:00",
"updated_at": "2024-01-01 12:00:00",
"client": {
"id": 42,
"username": "john.doe@i3d.net"
},
"contract_id": "MY-CONTRACT-ID",
"name": "my-server-name.example.com",
"status": "delivered",
"status_message": "No server discovered.",
"os": {
"id": 9,
"slug": "debian-9",
"name": "debian",
"version": "9"
},
"ip_addresses": [
{
"ip_address": "127.0.0.1"
}
],
"tags": [
"env:prod"
],
"delivered_at": "2024-01-01 12:00:00",
"released_at": "2024-01-01 12:00:00",
"request_id": 1234,
"client_server_request": {}
}
}ID of the client
42UUID of the server
550e8400-e29b-41d4-a716-446655440000Release of server succesful
Unauthenticated
Server not found
DELETE /api/v1/client/{clientId}/server/{serverUuid} HTTP/1.1
X-API-Key: YOUR_API_KEY
Accept: */*
{
"server": {
"metal_server_uuid": "550e8400-e29b-41d4-a716-446655440000",
"inventory_id": 5678,
"instance_type": {
"id": 129,
"name": "bm7.std.8"
},
"location": {
"id": 18,
"name": "EU: Rotterdam"
},
"created_at": "2024-01-01 12:00:00",
"updated_at": "2024-01-01 12:00:00",
"client": {
"id": 42,
"username": "john.doe@i3d.net"
},
"contract_id": "MY-CONTRACT-ID",
"name": "my-server-name.example.com",
"status": "delivered",
"status_message": "No server discovered.",
"os": {
"id": 9,
"slug": "debian-9",
"name": "debian",
"version": "9"
},
"ip_addresses": [
{
"ip_address": "127.0.0.1"
}
],
"tags": [
"env:prod"
],
"delivered_at": "2024-01-01 12:00:00",
"released_at": "2024-01-01 12:00:00",
"request_id": 1234,
"client_server_request": {}
}
}ID of the client
42Page number for pagination
1Number of items per page
15Filters for server listing (e.g., status)
status=delivered&tag[]=tag1&tag[]=tag2Successful operation
Unauthenticated
Client not found
GET /api/v1/client/{clientId}/server HTTP/1.1
X-API-Key: YOUR_API_KEY
Accept: */*
{
"servers": [
{
"metal_server_uuid": "550e8400-e29b-41d4-a716-446655440000",
"inventory_id": 5678,
"instance_type": {
"id": 129,
"name": "bm7.std.8"
},
"location": {
"id": 18,
"name": "EU: Rotterdam"
},
"created_at": "2024-01-01 12:00:00",
"updated_at": "2024-01-01 12:00:00",
"client": {
"id": 42,
"username": "john.doe@i3d.net"
},
"contract_id": "MY-CONTRACT-ID",
"name": "my-server-name.example.com",
"status": "delivered",
"status_message": "No server discovered.",
"os": {
"id": 9,
"slug": "debian-9",
"name": "debian",
"version": "9"
},
"ip_addresses": [
{
"ip_address": "127.0.0.1"
}
],
"tags": [
"env:prod"
],
"delivered_at": "2024-01-01 12:00:00",
"released_at": "2024-01-01 12:00:00",
"request_id": 1234,
"client_server_request": {}
}
],
"paginator": {
"from": "1",
"to": "10",
"total": "20",
"current_page": "1",
"last_page": "1",
"first_page_url": "http://localhost:8100/api/v1/servers/1?page=1",
"prev_page_url": null,
"next_page_url": "http://localhost:8100/api/v1/orders/1?page=2",
"last_page_url": "http://localhost:8100/api/v1/orders/1?page=3",
"path": "http://localhost:8100/api/v1/orders/1",
"per_page": "10"
}
}ID of the client
42UUID of the server
550e8400-e29b-41d4-a716-446655440000The tag to add
my_tagPattern: ^[A-Za-z0-9_:-]{1,64}$Successful operation
Unauthenticated
Client server not found
POST /api/v1/client/{clientId}/server/{serverUuid}/tag/{tag} HTTP/1.1
X-API-Key: YOUR_API_KEY
Accept: */*
{
"server": {
"metal_server_uuid": "550e8400-e29b-41d4-a716-446655440000",
"inventory_id": 5678,
"instance_type": {
"id": 129,
"name": "bm7.std.8"
},
"location": {
"id": 18,
"name": "EU: Rotterdam"
},
"created_at": "2024-01-01 12:00:00",
"updated_at": "2024-01-01 12:00:00",
"client": {
"id": 42,
"username": "john.doe@i3d.net"
},
"contract_id": "MY-CONTRACT-ID",
"name": "my-server-name.example.com",
"status": "delivered",
"status_message": "No server discovered.",
"os": {
"id": 9,
"slug": "debian-9",
"name": "debian",
"version": "9"
},
"ip_addresses": [
{
"ip_address": "127.0.0.1"
}
],
"tags": [
"env:prod"
],
"delivered_at": "2024-01-01 12:00:00",
"released_at": "2024-01-01 12:00:00",
"request_id": 1234,
"client_server_request": {}
}
}ID of the client
42UUID of the server
550e8400-e29b-41d4-a716-446655440000The tag to remove
my_tagPattern: ^[A-Za-z0-9_:-]{1,64}$Successful operation
Unauthenticated
Client server not found
DELETE /api/v1/client/{clientId}/server/{serverUuid}/tag/{tag} HTTP/1.1
X-API-Key: YOUR_API_KEY
Accept: */*
{
"server": {
"metal_server_uuid": "550e8400-e29b-41d4-a716-446655440000",
"inventory_id": 5678,
"instance_type": {
"id": 129,
"name": "bm7.std.8"
},
"location": {
"id": 18,
"name": "EU: Rotterdam"
},
"created_at": "2024-01-01 12:00:00",
"updated_at": "2024-01-01 12:00:00",
"client": {
"id": 42,
"username": "john.doe@i3d.net"
},
"contract_id": "MY-CONTRACT-ID",
"name": "my-server-name.example.com",
"status": "delivered",
"status_message": "No server discovered.",
"os": {
"id": 9,
"slug": "debian-9",
"name": "debian",
"version": "9"
},
"ip_addresses": [
{
"ip_address": "127.0.0.1"
}
],
"tags": [
"env:prod"
],
"delivered_at": "2024-01-01 12:00:00",
"released_at": "2024-01-01 12:00:00",
"request_id": 1234,
"client_server_request": {}
}
}ID of the client
42The tag to list
my_tagPattern: ^[A-Za-z0-9_:-]{1,64}$Successful operation
Unauthenticated
Client not found
GET /api/v1/client/{clientId}/tag/{tag} HTTP/1.1
X-API-Key: YOUR_API_KEY
Accept: */*
{
"tag": {
"id": 1,
"client_id": 1,
"tag": "my_tag",
"resources": {
"count": 1,
"flex_metal_servers": {
"count": 1
}
},
"created_at": "2024-01-01 12:00:00",
"updated_at": "2024-01-01 12:00:00"
}
}ID of the client
42The tag to delete
my_tagPattern: ^[A-Za-z0-9_:-]{1,64}$Successful operation
No content
Unauthenticated
Client or Tag not found
DELETE /api/v1/client/{clientId}/tag/{tag} HTTP/1.1
X-API-Key: YOUR_API_KEY
Accept: */*
No content
ID of the client
42The tag to rename
my_tagPattern: ^[A-Za-z0-9_:-]{1,64}$my_tagPattern: ^[A-Za-z0-9_:-]{1,64}$Successful operation
Unauthenticated
Client or Tag not found
Target tag name already exists
PATCH /api/v1/client/{clientId}/tag/{tag} HTTP/1.1
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"tag": "my_tag"
}{
"tag": {
"id": 1,
"client_id": 1,
"tag": "my_tag",
"resources": {
"count": 1,
"flex_metal_servers": {
"count": 1
}
},
"created_at": "2024-01-01 12:00:00",
"updated_at": "2024-01-01 12:00:00"
}
}ID of the client
42Successful operation
Unauthenticated
Client not found
GET /api/v1/client/{clientId}/tag HTTP/1.1
X-API-Key: YOUR_API_KEY
Accept: */*
{
"tags": [
{
"id": 1,
"client_id": 1,
"tag": "my_tag",
"resources": {
"count": 1,
"flex_metal_servers": {
"count": 1
}
},
"created_at": "2024-01-01 12:00:00",
"updated_at": "2024-01-01 12:00:00"
}
],
"paginator": {
"from": "1",
"to": "10",
"total": "20",
"current_page": "1",
"last_page": "1",
"first_page_url": "http://localhost:8100/api/v1/servers/1?page=1",
"prev_page_url": null,
"next_page_url": "http://localhost:8100/api/v1/orders/1?page=2",
"last_page_url": "http://localhost:8100/api/v1/orders/1?page=3",
"path": "http://localhost:8100/api/v1/orders/1",
"per_page": "10"
}
}ID of the client
42my_tagPattern: ^[A-Za-z0-9_:-]{1,64}$Successful operation
Unauthenticated
Tag already exists for client
POST /api/v1/client/{clientId}/tag HTTP/1.1
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"tag": "my_tag"
}{
"tag": {
"id": 1,
"client_id": 1,
"tag": "my_tag",
"resources": {
"count": 1,
"flex_metal_servers": {
"count": 1
}
},
"created_at": "2024-01-01 12:00:00",
"updated_at": "2024-01-01 12:00:00"
}
}ID of the client
2030-01-02 22:55:002030-01-15 22:55:00151Successful operation
Bad Request
Unauthenticated
Unprocessable Content
GET /api/v1/client/{clientId}/usage HTTP/1.1
X-API-Key: YOUR_API_KEY
Accept: */*
{
"servers": [
{
"serverId": 1,
"locationId": 1,
"instanceType": "text",
"deliveredAt": "2024-01-01 12:00:00",
"releasedAt": "2024-01-01 12:00:00",
"bandwidth": {
"startDate": "2024-01-01 12:00:00",
"endDate": "2024-01-01 12:00:00",
"bandwidthIn": 23556,
"bandwidthOut": 23556
},
"contractId": "",
"tags": [
"text"
]
}
],
"paginator": {
"from": "1",
"to": "10",
"total": "20",
"current_page": "1",
"last_page": "1",
"first_page_url": "http://localhost:8100/api/v1/servers/1?page=1",
"prev_page_url": null,
"next_page_url": "http://localhost:8100/api/v1/orders/1?page=2",
"last_page_url": "http://localhost:8100/api/v1/orders/1?page=3",
"path": "http://localhost:8100/api/v1/orders/1",
"per_page": "10"
}
}Last updated
Was this helpful?