Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a scw _cs helper #180

Closed
moul opened this issue Sep 10, 2015 · 0 comments
Closed

Add a scw _cs helper #180

moul opened this issue Sep 10, 2015 · 0 comments
Assignees

Comments

@moul
Copy link
Contributor

moul commented Sep 10, 2015

~  curl -X GET -H "X-Auth-Token: 00000000-0000-1000-0000-000000000000" -H "Content-Type: application/json" https://api.scaleway.com/containers | jq .
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2028  100  2028    0     0   2828      0 --:--:-- --:--:-- --:--:--  2832
{
  "containers": [
    {
      "organization": {
        "id": "11111111-1111-1111-1111-111111111111"
      },
      "name": "armbuild",
      "size": "0"
    },
    {
      "organization": {
        "id": "11111111-1111-1111-1111-111111111111"
      },
      "name": "armhf-docker-registry",
      "size": "0"
    },
    {
      "organization": {
        "id": "11111111-1111-1111-1111-111111111111"
      },
      "name": "manfred",
      "size": "0"
    },
    {
      "organization": {
        "id": "11111111-1111-1111-1111-111111111111"
      },
      "name": "moul",
      "size": "0"
    },
    {
      "organization": {
        "id": "11111111-1111-1111-1111-111111111111"
      },
      "name": "rescue-images",
      "size": "0"
    },
    {
      "organization": {
        "id": "11111111-1111-1111-1111-111111111111"
      },
      "name": "root",
      "size": "0"
    },
    {
      "organization": {
        "id": "11111111-1111-1111-1111-111111111111"
      },
      "name": "test-bootscripts",
      "size": "0"
    },
    {
      "organization": {
        "id": "11111111-1111-1111-1111-111111111111"
      },
      "name": "test-images",
      "size": "0"
    },
  ]
}

~  curl -X GET -H "X-Auth-Token: 00000000-0000-1000-0000-000000000000" -H "Content-Type: application/json" https://api.scaleway.com/containers/moul | jq .
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5456  100  5456    0     0    756      0  0:00:07  0:00:07 --:--:--  1367
{
  "container": [
    {
      "last_modified": "2015-01-16T11:46:20+00:00",
      "name": "100Mo.dat",
      "size": "100000000"
    },
    {
      "last_modified": "2015-03-11T11:56:33+00:00",
      "name": "101Mo.dat",
      "size": "100000000"
    },
    {
      "last_modified": "2015-05-28T16:33:56+00:00",
      "name": "3.19.8-std/build.txt",
      "size": "167480"
    },
    {
      "last_modified": "2015-05-28T16:33:55+00:00",
      "name": "3.19.8-std/config-3.19.8+",
      "size": "93989"
    },
    {
      "last_modified": "2015-05-28T16:33:54+00:00",
      "name": "3.19.8-std/include.tar.gz",
      "size": "988988"
    },
    {
      "last_modified": "2015-05-28T16:33:51+00:00",
      "name": "3.19.8-std/lib.tar.gz",
      "size": "108588871"
    },
    {
      "last_modified": "2015-05-28T16:33:55+00:00",
      "name": "3.19.8-std/vmlinuz-3.19.8+",
      "size": "3223768"
    },
    {
      "last_modified": "2015-05-28T16:11:12+00:00",
      "name": "4.0.2-std/build.txt",
      "size": "153937"
    },
    {
      "last_modified": "2015-05-28T16:11:08+00:00",
      "name": "4.0.2-std/config-4.0.2+",
      "size": "94695"
    },
    {
      "last_modified": "2015-05-28T16:11:09+00:00",
      "name": "4.0.2-std/config-4.0.2+.old",
      "size": "94695"
    },
    {
      "last_modified": "2015-05-28T16:11:04+00:00",
      "name": "4.0.2-std/include.tar.gz",
      "size": "993954"
    },
    {
      "last_modified": "2015-05-28T16:11:01+00:00",
      "name": "4.0.2-std/lib.tar.gz",
      "size": "110420200"
    },
    {
      "last_modified": "2015-05-28T16:11:05+00:00",
      "name": "4.0.2-std/uImage",
      "size": "3224928"
    },
    {
      "last_modified": "2015-05-28T16:11:06+00:00",
      "name": "4.0.2-std/uImage-4.0.2+",
      "size": "3224928"
    },
    {
      "last_modified": "2015-05-28T16:11:09+00:00",
      "name": "4.0.2-std/vmlinuz-4.0.2+",
      "size": "3224928"
    },
    {
      "last_modified": "2015-05-28T16:11:11+00:00",
      "name": "4.0.2-std/vmlinuz-4.0.2+.old",
      "size": "3224928"
    },
    {
      "last_modified": "2015-05-28T16:11:06+00:00",
      "name": "4.0.2-std/zImage",
      "size": "3224864"
    },
    {
      "last_modified": "2015-05-28T16:11:07+00:00",
      "name": "4.0.2-std/zImage-4.0.2+",
      "size": "3224864"
    },
    {
      "last_modified": "2015-07-01T14:00:18+00:00",
      "name": "4.1-std/uImage",
      "size": "3282504"
    },
    {
      "last_modified": "2015-05-08T15:39:31+00:00",
      "name": "bitrig-bsd-dtb",
      "size": "15930"
    },
    {
      "last_modified": "2015-05-12T13:08:53+00:00",
      "name": "bitrig-bsd-uImage",
      "size": "26460224"
    },
    {
      "last_modified": "2015-09-04T13:33:20+00:00",
      "name": "dev-dtb",
      "size": "16674"
    },
    {
      "last_modified": "2015-09-04T14:42:37+00:00",
      "name": "dev-uImage",
      "size": "3339272"
    },
    {
      "last_modified": "2015-09-07T14:55:48+00:00",
      "name": "initrd-Linux-armv7l.gz",
      "size": "4147979"
    },
    {
      "last_modified": "2015-01-16T12:39:57+00:00",
      "name": "rootfs.tar",
      "size": "318197760"
    },
    {
      "last_modified": "2015-01-16T12:06:17+00:00",
      "name": "tmp/build/ocs-distrib-opensuse-13.2/rootfs.tar",
      "size": "318197760"
    },
    {
      "last_modified": "2015-05-19T09:50:14+00:00",
      "name": "uImage-xen-4.5-armhf",
      "size": "656284"
    },
    {
      "last_modified": "2015-06-16T16:57:14+00:00",
      "name": "uInitrd",
      "size": "7393702"
    },
    {
      "last_modified": "2015-09-07T14:55:47+00:00",
      "name": "uInitrd-Linux-armv7l",
      "size": "4148043"
    },
    {
      "last_modified": "2015-07-28T14:18:50+00:00",
      "name": "uInitrd-Openbsd-armv7",
      "size": "22232640"
    },
    {
      "last_modified": "2015-05-19T09:41:13+00:00",
      "name": "xen-4.5-armhf",
      "size": "656220"
    },
    {
      "last_modified": "2015-05-19T10:18:17+00:00",
      "name": "xen-dtb",
      "size": "16396"
    },
    {
      "last_modified": "2015-05-12T15:12:49+00:00",
      "name": "xen-uImage",
      "size": "3507776"
    },
    {
      "last_modified": "2015-05-19T09:42:18+00:00",
      "name": "xen-zImage",
      "size": "3497944"
    }
  ]
}
@QuentinPerez QuentinPerez self-assigned this Sep 14, 2015
@QuentinPerez QuentinPerez mentioned this issue Oct 18, 2015
@moul moul closed this as completed Oct 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants