# Status

Get an installing status of the server on the account.

# HTTP Request:

GET https://api.serveravatar.com/organizations/{organization}/servers/{server}/status

# Curl Request example:

curl --request GET \
  --url "https://api.serveravatar.com/organizations/{organization}/servers/{server}/status" \
  --header 'content-type: application/json' \
  --header 'Authorization: <YOUR API TOKEN>'

# Response:

# Server Status

  • 200 (Ok)
{
  "record": [
    {
      "key": "creating_server",
      "status": "completed",
      "label": "Server Created",
      "percentage": 0
    },
    {
      "key": "inspecting",
      "status": "completed",
      "label": "Inspecting Done",
      "percentage": 0
    },
    {
      "key": "check_port",
      "status": "completed",
      "label": "Port Checked",
      "percentage": 0
    }
    ....
  ],
  "key": "finalize",
  "status": "completed",
  "configurationInPercentage": 100,
  "label": "Ready To Rock with Serveravatar 🚀",
  "server": {
    "id": 15,
    "organization_id": 5,
    "server_instance_id": 15,
    "cloud_provider_id": null,
    "provider_name": "lightsail",
    "ip": "53.21.17.517",
    "name": "alex-sites",
    "hostname": "ip-172-26-15-135",
    "operating_system": "ubuntu",
    "version": "20.04",
    "arch": "x86_64",
    "cores": 1,
    ....
  }
}

# Server Not Found

  • 404 (Not Found)
"message": "Server not found!"

# Server Error

  • 500 (Internal Server Error)
{
    "message": "Something went really wrong!"
}
Last Updated: 3/1/2023, 1:59:47 PM