8 Commits

Author SHA1 Message Date
Eric Brown
30d9095d28 Use https for docs.openstack.org references
The openstack.org pages now support https and our references to
the site should by default be one signed by the organization.

Change-Id: I30a462e03d1fd7852511e22cac34c6bc0e8917f4
2017-01-30 16:05:08 -08:00
Ha Van Tu
364462e2db Refactor Keystone admin-tokens and admin-users v2
This patch modifies parameters name to make it be maintainable and
reusable

Change-Id: I0dc5fb29f3eef5e1269a36df4cd952ed54267f88
2016-11-28 18:18:39 +07:00
Chris Spencer
ba98048401 Add documentation on how to set a user's tenant.
Change-Id: I61b98891336ca1ed096f013ff1ed1a89d7854886
Closes-Bug: #1609161
2016-08-31 13:18:50 -07:00
gage hugo
0e6752b7f5 Removed duplicate parameter in v2-admin api-ref
user_id was listed twice under the update user request parameters.
This fix removes the duplicated parameter.

Change-Id: I9c70aff00f151c4907101335174adf3624d4f686
2016-07-20 19:05:49 -05:00
Steve Martinelli
1963093f5e v2 api: change update user
The PUT /v2.0/users/{userId} route is unnecessarily in the OS-KSADM APIs,
it's not part of that extension. It is already defined correctly in the
v2-admin APIs.

Further, the update example is the v2-ext docs was a bit nicer, so use
that one, update the request and response for that route. Delete the
example in v2-ext since nothing else uses it.

Route link: https://github.com/openstack/keystone/blob/master/keystone/v2_crud/admin_crud.py#L93-L97

Change-Id: I14bdf9a3b4c09a7b48cc52b0ff32f72dcb115178
2016-07-16 06:42:40 -07:00
Steve Martinelli
cab514de1f v2 api: correct user list
The GET /v2.0/users route is unnecessarily in the OS-KSADM APIs, it's
not part of that extension. It is already defined correctly in the
v2-admin APIs.

Further, the sample response shows a single user, not a list, so fix
that while we're at it.

Route link: https://github.com/openstack/keystone/blob/master/keystone/v2_crud/admin_crud.py#L81-L86

Change-Id: I4131b955a6986a1311c1e100a54ab18f8622b2ff
2016-07-16 06:35:00 -07:00
Lance Bragstad
7acd8d0a1a Correct normal response codes in v2.0 admin user docs
20X http status codes don't represent errors.

Change-Id: I6483d8eba7cce0a788eca0a8d12ad408062f14a9
2016-07-13 19:44:37 +00:00
Samuel de Medeiros Queiroz
11d6b32fd4 Migrate identity /v2-admin docs from api-ref repo
Docs at [1] have already been converted from WADL (SGML / XML) to RST
using fairy-slipper [2].

This commit polish the results from the conversion and migrate the v2
admin docs to our repository under 'api-ref/source' directory. Missing
parameters definitions were added. It also removes admin-extensions.inc
as it did not contain any information.

The operation of listing roles for user had it title renamed so there
is not a duplicate label warning when running the api-ref job.

The API examples were moved into '/v2-admin/samples'.

Polishing the generated RST files include:
- Removing unnecessary blank lines;
- Removing empty references.

Polishing the generated RST files do not include:
- Modifying their content;
- Modifying file names;
- Wrapping lines at the maximum of 79 chars.

Updating the documentation will be done after this migration step.

[1] https://github.com/openstack/api-site/tree/master/api-ref/source/identity/v3
[2] https://github.com/russell/fairy-slipper

Change-Id: I39d6c6197a939d77fc462c091051760d6b626d80
2016-07-04 15:36:43 -03:00