Re: [openstack-dev] [glance] differences between def detail() and def index() in glance/registry/api/v1/images.py

2015-09-10 Thread Kuvaja, Erno
ck-dev] [glance] differences between def detail() and def index() in glance/registry/api/v1/images.py I assume you're using Glance client, if so, by default, when you issuing command 'glance image-list', it will call /v1/images/detail instead of /v1/images, you can use curl or any browser http client

[openstack-dev] [glance] differences between def detail() and def index() in glance/registry/api/v1/images.py

2015-09-09 Thread Su Zhang
Hello, I am hitting an error and its trace passes def index () in glance/registry/api/v1/images.py. I assume def index() is called by glance image-list. However, while testing glance image-list I realized that def detail() is called under glance/registry/api/v1/images.py instead of def index().

Re: [openstack-dev] [glance] differences between def detail() and def index() in glance/registry/api/v1/images.py

2015-09-09 Thread Fei Long Wang
I assume you're using Glance client, if so, by default, when you issuing command 'glance image-list', it will call /v1/images/detail instead of /v1/images, you can use curl or any browser http client to see the difference. Basically, just like the endpoint name, /v1/images/detail will give you