Commit Graph

23 Commits

Author SHA1 Message Date
Abhishek Lekshmanan
af0e307aae rgw: adminops API now supports tenant param for user creation
Allow `tenant` as a param for user creation API, also document this.
Currently we still return a -ENOENT when an invalid tenant name is
specified, while we could make it return -ERR_INVALID_TENANT, this would
make rgw admin cli not return -ENOENT when an invalid tenant name is
specified.

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-07-24 17:43:51 +02:00
Abhishek Lekshmanan
5c8d27363c doc: mention that tenant names may be specified in adminops api
We already allow for tenant names to be specified as a part of uid in
the adminops api, mention this. Also mention about ``tenant`` in the
json response we send.

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-07-24 17:43:51 +02:00
Drunkard Zhang
9eeec442d5 doc: remove duplicated section in doc/radosgw/adminops
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-05-19 09:16:52 +08:00
Yehuda Sadeh
4db11779a8 Merge pull request #14803 from hrchu/rgwadmin-api-doc-usage-conf
doc: rgw: note rgw_enable_usage_log option in adminops guide

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-04-27 08:42:09 -07:00
hrchu
e7896f6858 doc: rgw: note rgw_enable_usage_log option in adminops guide
Signed-off-by: hrchu <petertc@gmail.com>
2017-04-27 00:52:24 +00:00
hrchu
e922a98daa doc: rgw: Get user usage needs to specify user
Signed-off-by: hrchu <petertc@gmail.com>
2017-04-26 10:47:58 +00:00
Casey Bodley
2b341bfd62 Merge pull request #14335 from hrchu/radosgw-admin-api-subuser
doc: rgw: Clean up create subuser parameters

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-04-22 11:49:05 -04:00
Casey Bodley
9a0f17b6f4 Merge pull request #14055 from hrchu/radosgw-admin-api-user-caps
doc: correct and improve add user capability section

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-04-21 10:54:55 -04:00
hrchu
9a29d8c0af doc: rgw: correct get usage parameter default value
Signed-off-by: hrchu <petertc@gmail.com>
2017-04-06 15:06:31 +00:00
hrchu
26393de17d doc: rgw: Clean up create subuser parameters
"gen-subuser" is unavailable, remove it. Hence, "subuser" is required.

Signed-off-by: hrchu <hrchu@cht.com.tw>
2017-04-05 14:08:05 +08:00
hrchu
51a88267f0 doc: rgw: correct the quota section
Add the missing option and fix typo.

Fixes: http://tracker.ceph.com/issues/19397

Signed-off-by: Chu, Hua-Rong <hrchu@cht.com.tw>
2017-03-29 02:17:04 +00:00
hrchu
6d49b7c438 doc: correct and improve add user capability section
- "user-caps" should be located in the request parameter instead of body in example
 - Indicate how to add multiple admin capbabilies

Signed-off-by: Chu, Hua-Rong <hrchu@cht.com.tw>
2017-03-21 09:44:17 +08:00
hrchu
4e5ad2e697 doc: add bucket-id to link bucket in adminops.rst
The link bucket operation requires the bucket-id parameter.

Signed-off-by: Chu, Hua-Rong <hrchu@cht.com.tw>
2017-03-10 09:35:47 +08:00
Ken Dreyer
7b0ba9d323 doc: fix capitalization in RGW admin ops
lower-case second word in this sentence.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2016-12-05 11:59:14 -07:00
Abhishek Lekshmanan
a803f0e3be doc: rgw_adminops uid is required for UserInfo requests
Specify that uid is a required param for GET /admin/user requests

Fixes: http://tracker.ceph.com/issues/15455
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-04-11 15:17:28 +02:00
Dunrong Huang
41fcd877c1 doc: s/InvalidCap/InvalidCapability
InvalidCapability is more readable

Signed-off-by: Dunrong Huang <riegamaths@gmail.com>
2015-12-24 20:37:19 +08:00
Abhishek Lekshmanan
7a0ea798cf doc: fix a few typos in radosgw docs
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-07-09 11:18:09 +05:30
John Wilkins
fcbc5fa607 doc: Quotas for Admin Ops API.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-05-05 12:33:58 -07:00
John Wilkins
ec11bf7eed doc: Fixed inconsistent header.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-04-28 18:09:20 -07:00
John Wilkins
e02b84589e doc: Admin API usage for quotas. Needs additional clarification on syntax.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-04-14 09:15:20 -07:00
Wido den Hollander
19213e61b2 doc: Fix caps documentation for Admin API
The correct caps is users instead of user
2013-12-23 21:10:59 +01:00
atwardowski
5fb0444cc9 Update adminops.rst add capabilities
Added the necessary user capabilities required for each API call.

Signed-off-by: Adam Twardowski adam.twardowski@gmail.com
2013-06-13 20:12:13 -03:00
John Wilkins
fe164e4438 doc: Republishing the admin operations API for the gateway.
fixes: #4978

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-09 12:08:28 -07:00