TYPE | Fragment
|
Category | Objects |
Description
Object: Server
Properties
name |
type |
required |
default |
description |
identifier |
string |
yes |
|
The identifier you can retrieve the Server by |
hostname |
string |
yes |
|
The hostname of this server |
type |
string |
yes |
|
The type of Server this is, e.g. plesk,?? |
status |
string |
yes |
|
The status of this server |
ips |
array <Ip> |
yes |
|
A list of IP objects, the ip addresses of this server |
availablePackages |
array <string> |
yes |
|
A list of available packages(listed by their identifiers for now) |
usage |
integer |
yes |
|
The amount of packages on the server that are active on the server |
capacity |
integer |
yes |
|
The amount of packages on the server can have |
created |
integer |
yes |
|
Timestamp when this was created |
modified |
integer |
yes |
|
Timestamp when this was modified |
Sample JSON
{
"identifier": "pleskdev",
"hostname": "pleskdev.yourdomainprovider.net",
"type": "plesk",
"status": "active",
"ips": [
{
"address": "10.0.0.1",
"version": 4
}
],
"availablePackages": [
"basic1",
"basic2"
],
"created": 1626259040,
"modified": 1626259045
}