/v2 route doesn't exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Looking at the api-ref docs, I'm able to list versions of the image API available in a cloud (I'm using a devstack created from master as of last week):
http://
stack@osc:
commit 9bd264cd034f996
Merge: 2de3caf ce6cb2d
Author: Jenkins <email address hidden>
Date: Tue Oct 4 02:28:10 2016 +0000
Merge "[api-ref] configure LogABug feature"
stack@osc:
I'm able to list versions for the image endpoint:
stack@osc:
{
"versions" : [
{
"id" : "v2.4",
"status" : "CURRENT",
"links" : [
{
}
]
},
{
"links" : [
{
}
],
"id" : "v2.3",
"status" : "SUPPORTED"
},
{
"links" : [
{
}
],
"status" : "SUPPORTED",
"id" : "v2.2"
},
{
"id" : "v2.1",
"status" : "SUPPORTED",
"links" : [
{
}
]
},
{
"status" : "SUPPORTED",
"id" : "v2.0",
"links" : [
{
}
]
},
{
"links" : [
{
}
],
"status" : "DEPRECATED",
"id" : "v1.1"
},
{
"links" : [
{
}
],
"id" : "v1.0",
"status" : "DEPRECATED"
}
]
}
stack@osc:
I'm able to list the v1 route which is just a list of images:
stack@osc:
"images" : [
{
"size" : 25165824,
"name" : "cirros-
"id" : "c8af19ff-
"checksum" : "eb9139e4942121
},
{
"checksum" : "be575a2b939972
"size" : 3740163,
"name" : "cirros-
"id" : "ff195fc4-
},
{
"size" : 4979632,
"name" : "cirros-
"id" : "08463073-
"checksum" : "8a40c862b57359
}
]
}
But I'm not able to list the v2 route:
stack@osc:
404 Not Found
The resource could not be found.
stack@
Changed in glance: | |
assignee: | nobody → Brian Rosmaita (brian-rosmaita) |
Also, the v1 route lists images, is that by design? I was expecting it to provide details on the v1 API version.