With v1 disabled, this is what happens when you try to GET /v1/cached_images
$ curl -H "X-Auth-Token: $tok" http://10.130.50.34:9292/v1/cached_images | python -m json.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 119 100 119 0 0 25142 0 --:--:-- --:--:-- --:--:-- 29750 { "versions": [ { "id": "v2.0", "links": [ { "href": "http://10.130.50.34:9292/v2/", "rel": "self" } ], "status": "CURRENT" } ] }
With v1 disabled, this is what happens when you try to GET /v1/cached_images
$ curl -H "X-Auth-Token: $tok" http:// 10.130. 50.34:9292/ v1/cached_ images | python -m json.tool
Dload Upload Total Spent Left Speed
"links" : [
" href": "http:// 10.130. 50.34:9292/ v2/",
" rel": "self"
"status" : "CURRENT"
% Total % Received % Xferd Average Speed Time Time Time Current
100 119 100 119 0 0 25142 0 --:--:-- --:--:-- --:--:-- 29750
{
"versions": [
{
"id": "v2.0",
{
}
],
}
]
}