>From the object storage API documentation : http://developer.openstack.org/api-ref-objectstorage-v1.html We can see that the format=json is specified either as a parameter or as an example at least for the following : Show account details and list containers Show container details and list objects
>From the spec I can't give evidence that those fields may be optional. I think >the issue here is that I'm connecting to Openstack Swift which effectively it >is middleware for a Ceph instance. http://docs.ceph.com/docs/master/radosgw/swift/ "Ceph supports a RESTful API that is compatible with the basic data access model of the Swift API." In the documentation, we can't see a clear spec of the headers of the response : http://docs.ceph.com/docs/master/radosgw/swift/containerops/ But looking at Ceph's tracker I can see tickets were they report the following : http://tracker.ceph.com/issues/10666 RGW swift API: Response header of GET request for container does not contain X-Container-Object-Count, X-Container-Bytes-Used and x-trans-id headers http://tracker.ceph.com/issues/10684 RGW swift API: Response returned by GET request on account does not contain few headers. I wonder when we'll get that patch. Meanwhile, I posted a request and the response header looks like this : ``` HTTP/1.1 200 OK Content-type: application/json; charset=utf-8 Content-Length: 851 Date: Fri, 19 Feb 2016 23:21:34 GMT Connection: Keep-Alive ``` Those are my 2 cents. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/923#issuecomment-186461170
