identity v3 api-ref doesn't indicate request or response

Bug #1338131 reported by Brant Knudson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Won't Fix
Wishlist
Russell Sim

Bug Description

See http://developer.openstack.org/api-ref-identity-v3.html#tokens-v3 for an example of where this is a problem. The first example there is a sample of the JSON request data, but there's no header for the section that says that's what it is.

The 9th example there is the JSON response, but there's no header for the section that says it's the response data.

So nobody knows if the samples are request data or response data. The examples in identity v3 api-ref need headers.

Tags: doc-builds
affects: openstack-manuals → openstack-api-site
Revision history for this message
Anne Gentle (annegentle) wrote :

Just a starting attempt to triage...

If you look at http://developer.openstack.org/api-ref-identity-v2.html and click details next to GET tokens, you see dropdown lists for JSON request and XML request above the first request example, and JSON response and XML response above the first example response. So it's possible the tool isn't outputting a "request" or response" label due to assuming that the APIs will all have XML and JSON examples.

So the fix in the content would be to add XML examples.

The fix in the tool would be to output labels for each example.

tags: added: doc-builds
Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → High
Anne Gentle (annegentle)
Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → Medium
Anne Gentle (annegentle)
no longer affects: openstack-api-site
Anne Gentle (annegentle)
Changed in openstack-manuals:
importance: Medium → Wishlist
Revision history for this message
Tom Fifield (fifieldt) wrote :

This one should be taken care of by the shiny new API doc blueprint

affects: openstack-manuals → openstack-api-site
affects: openstack-api-site → openstack-manuals
Changed in openstack-manuals:
milestone: none → liberty
assignee: nobody → Russell Sim (russell-sim)
Changed in openstack-manuals:
milestone: liberty → mitaka
Revision history for this message
Lana (loquacity) wrote :

I think we can consider this closed with the new approach.

Changed in openstack-manuals:
status: Confirmed → Won't Fix
Changed in openstack-manuals:
milestone: mitaka → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.