API

The Zare API exposes all functionality of the manager via a RESTful API


Introduction


To make use of the Zare API you will first need to generate yourself an secret key in your Zare manager, this key needs to be provided in all API calls.

All API requests are accessed through https://api.zare.co.uk and must be sent over HTTPs for added security.

Example Request

GET https://api.zare.co.uk/servers/[secret_key]
{
  "status": "OK",
  "server": [
    {
      "id": 1,
      "hostname": "demo.zare.co.uk",
      "ip": "127.0.0.1",
      "os":"CentOS 6.X (64 Bit)",
      "region": "BRS-1",
      "memory": 1024,
      "disk": 30,
      "cores": 1,
      "status": "active",
      "transfer: 3000,
      "transfer_total": 520,
      "transfer_out": 500
    }
  ]
}
  

Signup and get yourself a DDoS protected server today!

Sign up