Atom feed of this document
  
 

 Appendix A: cURL Examples

This section is intended to provide a series of commands a typical client of the API might use to create and modify an image.

These commands assume the implementation of the v2 Images API is using the OpenStack Identity Service for authentication and authorization. The X-Auth-Token header is used to communicate the authentication token provided by that separate identity service.

The strings $OS_IMAGE_URL and $OS_AUTH_TOKEN represent variables defined in the client's environment. $OS_IMAGE_URL is the full path to your image service endpoint, for example, http://localhost:9292. $OS_AUTH_TOKEN represents an auth token generated by the OpenStack Identity Service, for example, 6583fb17c27b48b4b4a6033fe9cc0fe0.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page