Incomplete specification for Keystone API 2.0

Bug #1194997 reported by Samuel A. Falvo II
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
High
Diane Fleming
openstack-manuals
Fix Released
High
Diane Fleming

Bug Description

While looking for API documentation and specification, as I'm writing a new language binding, I came across api.openstack.org. However, I've simply not been able to find anything approximating a usable set of API docs on this site.

In particular,

1. Open a new tab in the browser, and go to http://api.openstack.org
2. Click on API Specifications
3. Click on OpenStack Identity Service API v2.0 Specification.
4. Scroll down and click on 2.1. Token Operations
5. Drop jaw in incredularity. Where is the spec?

The whole reason I landed on the spec is because the "complete reference," similarly, is inadequate from a software engineering
stand-point. Case in point:

1. As above.
2. Click on API Complete Reference
3. Nice! The token endpoint is right there! Click on Details, and see what it says.
4. Nice! Convenient access to the request format.
5. Uh oh -- where are field descriptions? Where are the special cases? (e.g., nothing indicates that the tenantName field is, in
fact, optional.) But even more importantly, where is the response format? Did I miss something?

Right now, my preferred source of reliable documentation for this is, ironically, Rackspace's own API documentation. However, with the point of my project being to support multiple vendors, it would be really quite awesome if Openstack themselves could have this information in a readily accessible form, so that I don't have to hunt through a plurality of corporate documentation sites as well. This would make it much easier for me to distinguish what is and what is not, say, Rackspace-specific functionality.

I would have expected OpenStack to own its definitive specification on what these APIs mean, what parameters are taken, and what results are given in what circumstances, *and* any side-effects they might have. That's what it means to be a specification. What I'm finding now isn't a specification; more of a sales brochure.

Tom Fifield (fifieldt)
Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Anne Gentle (annegentle) wrote :

Sam, thanks for reporting. The rest of the specifications should have:
sample request and response in JSON and XML
tables of parameters, whether they are required or optional

Our goal with these specs is to share with all the vendors, HP and Rackspace can consume the information from OpenStack docs since they are licensed for sharing. That happened a lot early on in the project, but has not seen full potential for that "one source of truth" that a standard should be. Our goals with the docs are to live up to being a standard and we strive for that by incrementally improving each project's documentation.

Changed in openstack-api-site:
assignee: nobody → Diane Fleming (diane-fleming)
summary: - Incomplete specifications, docs.
+ Incomplete specification for Keystone API 2.0
Changed in openstack-api-site:
status: Confirmed → In Progress
milestone: none → havana
Revision history for this message
Diane Fleming (diane-fleming) wrote :
Revision history for this message
Diane Fleming (diane-fleming) wrote :

will complete rest of work in another patch

Changed in openstack-manuals:
assignee: nobody → Diane Fleming (diane-fleming)
milestone: none → havana
importance: Undecided → High
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to api-site (master)

Fix proposed to branch: master
Review: https://review.openstack.org/36127

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/36127
Committed: http://github.com/openstack/api-site/commit/4011a802537c5354f3a911e1143d59ca64674992
Submitter: Jenkins
Branch: master

commit 4011a802537c5354f3a911e1143d59ca64674992
Author: Diane Fleming <email address hidden>
Date: Mon Jul 8 15:50:36 2013 -0500

    Updates to WADLs and samples for the API Ref page for Identity v2.0

    bug: #1194997

    Change-Id: I9e99fa333cee4af0d047afb63890dfa5f8539718
    author: diane fleming

Changed in openstack-api-site:
status: In Progress → Fix Released
Revision history for this message
Diane Fleming (diane-fleming) wrote :

API reference updated here: https://review.openstack.org/#/c/35545/

Changed in openstack-manuals:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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