Skip to contentSkip to conversation

how to use the admin api (get user info)

DISCUSSION 鹏 1 participant 1 message Sep 17, 2013

lore
Share & tools
lore

鹏

author
#0 lore raw

hi
i follow the admin api document http://ceph.com/docs/master/radosgw/adminops/ ,
when i get user info , it rentue 405 not allowed
my commond is

curl -XGET http://kp/admin/user?format=json -d'{"uid":"user1"}' -H'Authoeization:AWS ******:******' -H'Date:******' -i -v the reasult is
405 Method not allowed , {'code':"MethodNotAllowed"}

the same commd will be work when I get usage, the commod is
curl -XGET http://kp/admin/usage?format=json -d'{"uid":"user1"}' -H'Authoeization:AWS ******:******' -H'Date:******' -i -v it will return 200 ok , {"entries":[], "summary"}

my ceph vesion is 0.56.3,
Thank you for your patience !

_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com