Skip to content

Add a scw _ips helper #178

Closed
Closed
@moul

Description

@moul
$ curl -X GET -H "X-Auth-Token: 00000000-0000-1000-0000-000000000000" -H "Content-Type: application/json" https://api.scaleway.com/ips | jq .
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2767  100  2767    0     0   4734      0 --:--:-- --:--:-- --:--:--  4729
{
  "ips": [
    {
      "organization": "11111111-1111-1111-1111-111111111111",
      "reverse": null,
      "id": "22222222-2222-1222-2222-222222222222",
      "server": {
        "id": "33333333-3333-1333-3333-333333333333",
        "name": "test41"
      },
      "address": "212.47.235.167"
    },
    {
      "organization": "11111111-1111-1111-1111-111111111111",
      "reverse": null,
      "id": "44444444-4444-1444-4444-444444444444",
      "server": {
        "id": "55555555-5555-1555-5555-555555555555",
        "name": "DEV INITRD RESCUE"
      },
      "address": "212.47.226.43"
    },
    {
      "organization": "11111111-1111-1111-1111-111111111111",
      "reverse": null,
      "id": "66666666-6666-1666-6666-666666666666",
      "server": {
        "id": "77777777-7777-1777-7777-777777777777",
        "name": "[rescue] distrib-alpine-latest"
      },
      "address": "212.47.237.216"
    },
    {
      "organization": "11111111-1111-1111-1111-111111111111",
      "reverse": null,
      "id": "88888888-8888-1888-8888-888888888888",
      "server": {
        "id": "99999999-9999-1999-9999-999999999999",
        "name": "TEST SG"
      },
      "address": "212.47.231.213"
    },
    {
      "organization": "11111111-1111-1111-1111-111111111111",
      "reverse": null,
      "id": "aaaaaaaa-aaaa-1aaa-aaaa-aaaaaaaaaaaa",
      "server": {
        "id": "bbbbbbbb-bbbb-1bbb-bbbb-bbbbbbbbbbbb",
        "name": "dev-XEN"
      },
      "address": "212.47.230.253"
    },
    {
      "organization": "11111111-1111-1111-1111-111111111111",
      "reverse": null,
      "id": "cccccccc-cccc-1ccc-cccc-cccccccccccc",
      "server": {
        "id": "dddddddd-dddd-1ddd-dddd-dddddddddddd",
        "name": "DEV INITRD - LIVE install"
      },
      "address": "212.47.238.79"
    },
    {
      "organization": "11111111-1111-1111-1111-111111111111",
      "reverse": null,
      "id": "eeeeeeee-eeee-1eee-eeee-eeeeeeeeeeee",
      "server": null,
      "address": "212.47.232.25"
    },
    {
      "organization": "11111111-1111-1111-1111-111111111111",
      "reverse": null,
      "id": "ffffffff-ffff-1fff-ffff-ffffffffffff",
      "server": {
        "id": "10101010-1010-1010-1010-101010101010",
        "name": "test2"
      },
      "address": "212.47.228.172"
    },
    {
      "organization": "11111111-1111-1111-1111-111111111111",
      "reverse": null,
      "id": "11111111-1111-1111-1111-111111111111",
      "server": {
        "id": "12121212-1212-1212-1212-121212121212",
        "name": "Bitrig BSD"
      },
      "address": "212.47.228.237"
    },
    {
      "organization": "11111111-1111-1111-1111-111111111111",
      "reverse": null,
      "id": "13131313-1313-1313-1313-131313131313",
      "server": {
        "id": "14141414-1414-1414-1414-141414141414",
        "name": "VAIPAIHAINE"
      },
      "address": "212.47.234.225"
    },
    {
      "organization": "11111111-1111-1111-1111-111111111111",
      "reverse": null,
      "id": "15151515-1515-1515-1515-151515151515",
      "server": {
        "id": "16161616-1616-1616-1616-161616161616",
        "name": "test76"
      },
      "address": "212.47.229.27"
    },
    {
      "organization": "11111111-1111-1111-1111-111111111111",
      "reverse": null,
      "id": "17171717-1717-1717-1717-171717171717",
      "server": {
        "id": "18181818-1818-1818-1818-181818181818",
        "name": "test99"
      },
      "address": "212.47.239.155"
    }
  ]
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions