ATTN: DOCS /api/cluster/user/export

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

 



Hi,

Could you please change this doc
https://docs.ceph.com/en/quincy/mgr/ceph_api/#post--api-cluster-user-export
as it doesn't accept simple strings, but a json array.
i.e. I think this:

{
>     "entities": "string"
> }

should be replaced by something like:
>
> {
>     "entities": ["string"]
> }


Here is an example cURL query just in case:
>
> ~$ curl -kL -H "Content-Type: application/json" -H  "Accept: application/vnd.ceph.api.v1.0+json" -H "Authorization: Bearer $TOKEN" "${URL}api/cluster/user/export" -X POST -d '{ "entities": ["client.admin"] }' |jq -r .
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100   206  100   174  100    32   6960   1280 --:--:-- --:--:-- --:--:--  9809
> [client.admin]
> 	key = ****KEY****
> 	caps mds = "allow *"
> 	caps mgr = "allow *"
> 	caps mon = "allow *"
> 	caps osd = "allow *"


Regards,
Attila
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[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