yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #50871
[Bug 1480400] Re: Documentation error for properties
The api-ref is maintained by each module (for this case glance).
So I close for api-site ticket.
** Changed in: openstack-api-site
Status: In Progress => Opinion
** Changed in: openstack-api-site
Status: Opinion => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1480400
Title:
Documentation error for properties
Status in Glance:
In Progress
Status in openstack-api-site:
Invalid
Bug description:
Document: http://developer.openstack.org/api-ref-image-v2.html
Under the image create drop down there is the following line:
properties (Optional) plain | xsd:dict | Properties, if any, that are associated with the image.
This suggests that the properties are a dict and would look like this:
-d '{"name": "thename", "properties": {"myprop", "mydata"}}'
this is not the case, as if you want
to define custom properties in a curl command you do it by defining it like any other property eg.
-d '{"name": "thename", "myprop": "mydata"}'
The documentation is not clear about this distinction.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1480400/+subscriptions
References