Server Details

Pre Release: Subject to changes

This gets you the detail of the specified server. It will return you the server_id, server_ip , server_power_status , server_ram_usage , server_storage_usage and server_billing_status

Use Case

You can use this specific call to provide live details for the server users. However this call has rate limit and a longer load time, and therefore, you are recommended to cache the details. You should be aware of the attributes and obmit any sensitive information such as `server_billing_status` from your users.

Example

GET https://zestystore.com/api/reseller/v1/server/{server_id}

Path Parameters

Name
Type
Description

server_id*

integer

{
   "server_id" : integer,
   "server_ip" : "string",
   "server_power_status" : "string",
   "server_ram_usage" : integer,
   "server_storage_usage" : integer,
   "server_billing_status" : "string"
}

Attribute

Attribute Name
Description

server_id

Integer. The ID of the server for api calls.

server_ip

String. The IP of the server.

server_power_status

String. Includes online, offline , unknown and maintenance.

server_ram_usage

Integer. This number indicates the percentage used.

server_storage_usage

Integer. This number indicates the percentage used.

server_billing_status

String. Includes active, unpaid, cancelling and expired.

Last updated