On Wed, Jun 19, 2013 at 3:03 AM, Edward Hope-Morley
<[email protected]> wrote:
> Apologies, premature send ;)
>
> On 19/06/13 11:00, Edward Hope-Morley wrote:
>> Hi guys, I'm having the following issue with the RGW swift API:
>>
>> The docs at http://ceph.com/docs/next/radosgw/swift/serviceops say that
>> for a GET request to list account contents I should do (as with Swift):
>>
>> GET /{api version}/{account} HTTP/1.1
>>
>>
>> but, if I put the account RGW treats this as a bucket.
>>
>> So the following works fine:
>>
>> curl -i http://192.168.1.201:80/swift/v1 -X GET -H "X-Auth-Token: $token"
>>
>> But this does not:
>
> curl -i http://192.168.1.201:80/swift/v1/$account -X GET -H
> "X-Auth-Token: $token"
>
> Am I doing something wrong or is this an anomaly in the RGW API?
>

The docs are wrong there, the account is determined by the auth token.

Yehuda
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to