← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1480400] [NEW] Documentation error for properties

 

Public bug reported:

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.

** Affects: glance
     Importance: Undecided
         Status: New


** Tags: documentation

-- 
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:
  New

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


Follow ups