Openstack Images v2.0 API (Glance) - documentation

Asked by Maty Grosz

Hi,

I am looking for the most updated documentation regarding the Openstack Images v2.0 API (Glance) – but all I find is
documentation for v1.0 only.

Is there anyone who can refer me to links that I can view?

Thanks,

Maty.

Question information

Language:
English Edit question
Status:
Answered
For:
Glance Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Iccha Sethi (iccha-sethi) said :
#1

Hey Maty,

Glance v2.0 is still work in progress. I think that is why there is no formalized documentation for it yet.

Let us know if you have any specific questions though. Maybe Anne can point you towards, if there is documentation for it.

Thanks,
Iccha

Revision history for this message
Maty Grosz (maty-grosz) said :
#2

Hi, Iccha,

Accoring to the Folsom release notes - the Glance v2.0 is already introduced...
So it passed the ' work in progress' stage. (http://wiki.openstack.org/ReleaseNotes/Folsom#OpenStack_Image_Service_.28Glance.29).

What do you mean by ' work in progress' if it is already included in Folsom?

Revision history for this message
Iccha Sethi (iccha-sethi) said :
#3

Hey,

Sorry I meant to say it doesnt have parity with v1 yet entirely. But like I said Anne Gentle is a good person to ask about documentation.

Thanks,
Iccha

Revision history for this message
Maty Grosz (maty-grosz) said :
#4

How do I contact Anne Gentle?

Revision history for this message
Iccha Sethi (iccha-sethi) said :
#5
Revision history for this message
Anne Gentle (annegentle) said :
#6

See https://github.com/openstack/image-api/blob/master/openstack-image-service-api/src/markdown/images-api-v2.0.md

The publishing job to get it onto docs.openstack.org must be broken, I'll create a new bug for it.

Revision history for this message
Maty Grosz (maty-grosz) said :
#7

Hi, Anne, thank you for your input.

Regarding the 'Create an Image' API (POST /v2/images):
What are the list of parameters I need to add to the create request? The documentation you refered me to doen't explain them.

What is the equivalent (if there is any) to the HEAD > metadata properties from v1.1 API?

Thanks,

Maty.

Revision history for this message
Maty Grosz (maty-grosz) said :
#8

Anne,

What about user-defined header properties as was supported in the v1.0 HEAD request?
Are they supported in v2.0? what is the equivalent?

Thanks,

Maty.

Revision history for this message
Iccha Sethi (iccha-sethi) said :
#9

Hey Maty,

In glance-client we have not exposed all v2.0 functionatlies like image-create and image-update yet. We are planning on doing it soon. But yes you will be able to set user defined properties and it will be in the body of the request.

Hope that helps.

Thanks,
Iccha

Can you help with this problem?

Provide an answer of your own, or ask Maty Grosz for more information if necessary.

To post a message you must log in.