[Openstack-docs] compute-api: Job compute-api-v2.0-wadl failing

Diane Fleming diane.fleming at RACKSPACE.COM
Tue Apr 22 17:19:57 UTC 2014


Oh, and add this one: (nova v2)


curl -i http://23.253.228.211:8774/v2/ -H "Accept: application/json" -H "X-Auth-Token:$token"


{

   "version":{

      "status":"CURRENT",

      "updated":"2011-01-21T11:33:21Z",

      "media-types":[

         {

            "base":"application/xml",

            "type":"application/vnd.openstack.compute+xml;version=2"

         },

         {

            "base":"application/json",

            "type":"application/vnd.openstack.compute+json;version=2"

         }

      ],

      "id":"v2.0",

      "links":[

         {

            "href":"http://23.253.228.211:8774/v2/",

            "rel":"self"

         },

         {

            "href":"http://docs.openstack.org/api/openstack-compute/2/os-compute-devguide-2.pdf",

            "type":"application/pdf",

            "rel":"describedby"

         },

         {

            "href":"http://docs.openstack.org/api/openstack-compute/2/wadl/os-compute-2.wadl",

            "type":"application/vnd.sun.wadl+xml",

            "rel":"describedby"

         }

      ]

   }

}

Diane
----------------------------------------------
Diane Fleming
Software Developer II - US
diane.fleming at rackspace.com
Cell  512.323.6799
Office 512.874.1260
Skype drfleming0227
Google-plus diane.fleming at gmail.com

From: Diane Fleming <diane.fleming at rackspace.com<mailto:diane.fleming at rackspace.com>>
Date: Tuesday, April 22, 2014 11:38 AM
To: Anne Gentle <anne at openstack.org<mailto:anne at openstack.org>>, "openstack-docs at lists.openstack.org<mailto:openstack-docs at lists.openstack.org>" <openstack-docs at lists.openstack.org<mailto:openstack-docs at lists.openstack.org>>
Cc: Andreas Jaeger <aj at suse.com<mailto:aj at suse.com>>
Subject: Re: [Openstack-docs] compute-api: Job compute-api-v2.0-wadl failing

Yes, Compute v3 shows these links:


{

            "href":"http://docs.openstack.org/api/openstack-compute/3/os-compute-devguide-3.pdf",

            "type":"application/pdf",

            "rel":"describedby"

         },

         {

            "href":"http://docs.openstack.org/api/openstack-compute/3/wadl/os-compute-3.wadl",

            "type":"application/vnd.sun.wadl+xml",

            "rel":"describedby"

         }


Identity v2.0 shows this link (no WADL link):


 {

                  "href":"http://docs.openstack.org/api/openstack-identity-service/2.0/identity-dev-guide-2.0.pdf",

                  "type":"application/pdf",

                  "rel":"describedby"

               }


that's it for now – but do you think we should just get rid of those links? (I do.)

Diane
----------------------------------------------
Diane Fleming
Software Developer II - US
diane.fleming at rackspace.com<mailto:diane.fleming at rackspace.com>
Cell  512.323.6799
Office 512.874.1260
Skype drfleming0227
Google-plus diane.fleming at gmail.com<mailto:diane.fleming at gmail.com>

From: Anne Gentle <anne at openstack.org<mailto:anne at openstack.org>>
Date: Tuesday, April 22, 2014 11:35 AM
To: Diane Fleming <diane.fleming at rackspace.com<mailto:diane.fleming at rackspace.com>>, "openstack-docs at lists.openstack.org<mailto:openstack-docs at lists.openstack.org>" <openstack-docs at lists.openstack.org<mailto:openstack-docs at lists.openstack.org>>
Cc: Andreas Jaeger <aj at suse.com<mailto:aj at suse.com>>
Subject: Re: [Openstack-docs] compute-api: Job compute-api-v2.0-wadl failing

Okay! Good work Diane. Adding the list back so we can report findings.

So the outcome is that both Compute API v3 and Identity API v 2.0 need PDF and WADL available as links that match their responses.

If more APIs add links to docs, we'd need those copied as well.

Thanks!
Anne

On Tue, Apr 22, 2014 at 11:29 AM, Diane Fleming <diane.fleming at rackspace.com<mailto:diane.fleming at rackspace.com>> wrote:
Okay, I ran versions call for all projects – I've attached the results.

Identity also puts links in the output.

I will put in an update to all the version calls on the API site and in the dev guides to make sure the docs show the correct calls/responses.

Plus, there are a few bugs here – some of the calls return "resource not found," and other errors. I'll open code bugs for those.

Diane
----------------------------------------------
Diane Fleming
Software Developer II - US
diane.fleming at rackspace.com<mailto:diane.fleming at rackspace.com>
Cell  512.323.6799<tel:512.323.6799>
Office 512.874.1260<tel:512.874.1260>
Skype drfleming0227
Google-plus diane.fleming at gmail.com<mailto:diane.fleming at gmail.com>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-docs/attachments/20140422/e0d1f18c/attachment-0001.html>


More information about the Openstack-docs mailing list