Base URL: https://api.coritan.com/api/v1. Paths below are complete.
To try these requests in the browser, open the interactive Organization API reference.
GET /api/v1/orgs/{org_slug}/vps
The organization's instances, newest first; terminated ones are left out.
Each row carries ipv6_address (the address the guest holds in its
IPv6 /64) and ipv6_prefix, both null until the instance has IPv6.
The search, location and power filters run in the query, before the page
is cut. Each row's power_state is the one the platform recorded at
its last start, stop, restart, suspension or rebuild: nothing reads it
back from the hosts on a schedule, so a guest shut down from inside still
says running until /vps/{uuid}/status asks its host.
Without with_total the answer is the bare list it always was. With
it, total is counted from the clause the page is cut from;
counts has all and each power state for the search and the
location, locations ([{location, count}]) each place for the
search and the power state, and totals the whole fleet's
instances, running, cpu_cores, memory_mb and disk_gb,
whatever the filters.
| Name |
In |
Type |
Required |
Description |
org_slug |
path |
string |
yes |
|
q |
query |
string or null |
no |
Part of the hostname, address, system, location, host or UUID. |
location |
query |
string or null |
no |
One location, as a row's location_name (else its host's location) names it. |
power |
query |
string or null |
no |
The power state the platform recorded at the instance's last start, stop or restart. |
limit |
query |
integer or null |
no |
Rows per page. Left out, every instance. |
offset |
query |
integer |
no |
Default: 0. |
with_total |
query |
boolean |
no |
Answers {items, total, limit, offset, counts, locations, totals} instead of a bare list. Default: False. |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/vps/templates
Templates offered and ready on at least one active host.
ready_nodes counts those hosts across the fleet. Pass uuid to learn
which templates a rebuild of that instance accepts.
| Name |
In |
Type |
Required |
Description |
org_slug |
path |
string |
yes |
|
uuid |
query |
string or null |
no |
An instance of this organization. Each template then carries fits, whether a rebuild can install it there, and unfit_reason, the sentence a rebuild with it would answer, or null. |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/vps/{uuid}
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/vps/{uuid}/backups
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
POST /api/v1/orgs/{org_slug}/vps/{uuid}/backups
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
application/json
| Field |
Type |
Required |
note |
string or null |
no |
mode |
string |
no |
compress |
string |
no |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
DELETE /api/v1/orgs/{org_slug}/vps/{uuid}/backups/{backup_id}
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
backup_id |
path |
integer |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
POST /api/v1/orgs/{org_slug}/vps/{uuid}/backups/{backup_id}/restore
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
backup_id |
path |
integer |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/vps/{uuid}/bandwidth
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
POST /api/v1/orgs/{org_slug}/vps/{uuid}/cloud-init/regenerate
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/vps/{uuid}/config
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/vps/{uuid}/console
A display console session with keyboard control, for the owner and org admins.
The organization's audit log records who opened each session before the
session is handed out. The answer carries the fields of
GET /api/v1/client/vps/{uuid}/console: display reads serial or
pending until the instance is restarted once with the reboot power
action, and vga once the console shows its screen.
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/vps/{uuid}/graphs
| Name |
In |
Type |
Required |
Description |
uuid |
path |
string |
yes |
|
org_slug |
path |
string |
yes |
|
timeframe |
query |
string |
no |
Default: hour. |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/vps/{uuid}/guest
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
PATCH /api/v1/orgs/{org_slug}/vps/{uuid}/hostname
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
application/json (required)
| Field |
Type |
Required |
hostname |
string |
yes |
reboot |
boolean |
no |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/vps/{uuid}/ips
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
POST /api/v1/orgs/{org_slug}/vps/{uuid}/power
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
application/json (required)
| Field |
Type |
Required |
action |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
POST /api/v1/orgs/{org_slug}/vps/{uuid}/rebuild
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
application/json (required)
| Field |
Type |
Required |
template_id |
integer |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
POST /api/v1/orgs/{org_slug}/vps/{uuid}/rescue/enter
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
application/json (required)
| Field |
Type |
Required |
iso_volid |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
POST /api/v1/orgs/{org_slug}/vps/{uuid}/rescue/exit
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/vps/{uuid}/rescue/media
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
POST /api/v1/orgs/{org_slug}/vps/{uuid}/reset-password
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/vps/{uuid}/snapshots
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
POST /api/v1/orgs/{org_slug}/vps/{uuid}/snapshots
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
application/json (required)
| Field |
Type |
Required |
name |
string |
yes |
description |
string or null |
no |
vmstate |
boolean |
no |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
DELETE /api/v1/orgs/{org_slug}/vps/{uuid}/snapshots/{snapshot_id}
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
snapshot_id |
path |
integer |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
POST /api/v1/orgs/{org_slug}/vps/{uuid}/snapshots/{snapshot_id}/rollback
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
snapshot_id |
path |
integer |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/vps/{uuid}/ssh-keys
The public keys on the instance, so a PUT can start from them: the PUT replaces them all.
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
PUT /api/v1/orgs/{org_slug}/vps/{uuid}/ssh-keys
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
application/json (required)
| Field |
Type |
Required |
ssh_keys |
string |
no |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/vps/{uuid}/status
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |