Ask Your Question

Revision history [back]

You can list the Glance versions without a token. If Glance really runs behind port 9292 (in Pike or Queens, it may well run behind Apache and use a different URL), http://controller:9292 or http://controller:9292/versions list the versions that the installed Glance offers. See https://developer.openstack.org/api-ref/image/versions/index.html.

Unlike Keystone, the v2 API reference doesn't seem to implement a "naked" API http://controller:9292/v2.

You can list the Glance versions without a token. If Glance really runs behind port 9292 (in Pike or Queens, it may well run behind Apache and use a different URL), http://controller:9292 or http://controller:9292/versions list the versions that the installed Glance offers. See https://developer.openstack.org/api-ref/image/versions/index.html.

Unlike Keystone, the v2 API reference doesn't seem to implement a "naked" API http://controller:9292/v2.

Any other API requires you to provide the token as an http header. You also need to provide the API method. The browser doesn't give you the flexibility to do that. There are browser plugins for building and submitting RESTful API requests for Firefox and Chrome, but logging on to Horizon and submitting an API request are two entirely different things.

For examples on how to access the Glance API on the command line, see https://docs.openstack.org/newton/user-guide/cli-manage-images-curl.html.

You can list the Glance versions without a token. If Glance really runs behind port 9292 (in Pike or Queens, it may well run behind Apache and use a different URL), http://controller:9292 or http://controller:9292/versions list the versions that the installed Glance offers. See https://developer.openstack.org/api-ref/image/versions/index.html.

Unlike Keystone, the v2 API reference doesn't seem to implement a "naked" API http://controller:9292/v2.

Any other API requires you to provide the token as an http header. You also need to provide the API method. The browser doesn't give you the flexibility to do that. There are browser plugins for building and submitting RESTful API requests for Firefox and Chrome, but logging on to Horizon and submitting an API request are two entirely different things.

For examples on how to access the Glance API on the command line, see https://docs.openstack.org/newton/user-guide/cli-manage-images-curl.html.https://docs.openstack.org/newton/user-guide/cli-manage-images-curl.html (the web page documents Newton but should work for all later releases as well).

You can list the Glance versions without a token. If Glance really runs behind port 9292 (in Pike or Queens, it may well run behind Apache and use a different URL), http://controller:9292 or http://controller:9292/versions list the versions that the installed Glance offers. See https://developer.openstack.org/api-ref/image/versions/index.html.

Unlike Keystone, the v2 API reference doesn't seem to implement a "naked" API http://controller:9292/v2. http://controller:9292/v2.

Any other API requires you to provide the token as an http header. You also need to provide the API method. The browser doesn't give you the flexibility to do that. There are browser plugins for building and submitting RESTful API requests for Firefox and Chrome, but logging on to Horizon and submitting an API request are two entirely different things.

For examples on how to access the Glance API on the command line, see https://docs.openstack.org/newton/user-guide/cli-manage-images-curl.html (the web page documents Newton but should work for all later releases as well).