how to use the admin api (get user info)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 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
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux