there's a shell script in https://github.com/ceph/ceph/blob/main/examples/rgw_admin_curl.sh. there are also some client libraries listed in https://docs.ceph.com/en/pacific/radosgw/adminops/#binding-libraries On Mon, Jul 18, 2022 at 7:06 AM Marcus Müller <mueller.marcus@xxxxxxxxx> wrote: > > Thank you! We are running Pacific, that was my issue here. > > Can someone share a example of a full API request and answer with curl? I’m still having issues, now getting 401 or 403 answers (but providing Auth-User and Auth-Key). > > Regards > Marcus > > > > Am 15.07.2022 um 15:23 schrieb Casey Bodley <cbodley@xxxxxxxxxx>: > > are you running quincy? it looks like this '/admin/info' API was new > to that release > > https://docs.ceph.com/en/quincy/radosgw/adminops/#info > > On Fri, Jul 15, 2022 at 7:04 AM Marcus Müller <mueller.marcus@xxxxxxxxx> wrote: > > > Hi all, > > I’ve created a test user on our radosgw to work with the API. I’ve done the following: > > ~#radosgw-admin user create --uid=testuser--display-name=„testuser" > > ~#radosgw-admin caps add --uid=testuser --caps={caps} > "caps": [ > { > "type": "amz-cache", > "perm": "*" > }, > { > "type": "bilog", > "perm": "*" > }, > { > "type": "buckets", > "perm": "*" > }, > { > "type": "datalog", > "perm": "*" > }, > { > "type": "mdlog", > "perm": "*" > }, > { > "type": "metadata", > "perm": "*" > }, > { > "type": "oidc-provider", > "perm": "*" > }, > { > "type": "roles", > "perm": "*" > }, > { > "type": "usage", > "perm": "*" > }, > { > "type": "user-policy", > "perm": "*" > }, > { > "type": "users", > "perm": "*" > }, > { > "type": "zone", > "perm": "*" > } > ], > > > But for my GET request (with Authorization Header) I only get a "405 - Method not Allowed" answer. This is my request url: https://s3.example.de/admin/info?format=json <https://s3.example.de/admin/info?format=json> > > Where is the issue here? > > > Regards, > Marcus > _______________________________________________ > ceph-users mailing list -- ceph-users@xxxxxxx > To unsubscribe send an email to ceph-users-leave@xxxxxxx > > > _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx