scaleway / scaleway-cli

Command Line Interface for Scaleway

Home Page:https://www.scaleway.com/en/cli/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add dashboard information in `scw info`

moul opened this issue · comments

$ curl -X GET -H "X-Auth-Token: 00000000-0000-1000-0000-000000000000" -H "Content-Type: application/json" https://api.scaleway.com/dashboard
{
  "dashboard": {
    "volumes_count": 201,
    "running_servers_count": 103,
    "images_count": 13,
    "snapshots_count": 111,
    "servers_count": 147,
    "ips_count": 12
  }
}