13 Commits

Author SHA1 Message Date
wangqiangbj
17e242e7d5 adjust response code in order of credentials.inc
Change-Id: I0806d2ed802edfb58a306db1d73272821db8f383
2018-01-12 14:08:10 +08:00
Samuel de Medeiros Queiroz
eb35d455e5 Reorganize api-ref: v3 credentials
Change-Id: I2ccf6e5fa95ae3cf0c4ab9a6dcee451aebe83981
2017-12-28 15:22:02 +00:00
zhanghongtao
9f7c8654b1 Addition of "type" optional attribute to list credentials.
In the Version 3.5, "type" optional attribute has been added
to list credentials. This patch add the attribute to api
docs.

Change-Id: I8989a3b9084a5ecc720f08be6096b8ed28fa260d
2017-06-05 16:09:22 +08:00
Samuel Pilla
c90db0375e Renaming of api parameters
Some parameters of similar name would follow the convention
such as `region_id` and `region_id_1` which gave no good
information as to the differences.

This patch changes these names to help give such information.

Change-Id: I2dec61ed06042990ff54e86c02dc3fca9d566366
2017-02-03 15:23:40 -06:00
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
Jenkins
af4b4ba116 Merge "api-ref: Splitting status lines in API v3." 2016-08-29 15:29:34 +00:00
Anh Tran
a8dbe9b400 Add Response Example for 'Create credential' API
Change-Id: I6cb8309e254ec9b4d7bae814b15d0f4c064a4fc6
2016-08-29 09:48:00 +00:00
Anh Tran
43df6125f9 api-ref: Splitting status lines in API v3.
Currently, 'Normal response codes' and 'Error response codes' are
in the same line. We should split them.

Change-Id: Iecfa8849a57dc895f639ab2e7d910a2a8763f83a
2016-08-25 13:14:34 +07:00
gage hugo
d36e555788 [api] add relationship links to v3
Nearly all the "relationship" links are missing in v3 APIs.

Added relationship links to v3 API pages.

Change-Id: If519692a5b48e563719e8cde5c694edad6e01ef8
Partial-Bug: #1609159
2016-08-11 15:17:59 -05:00
Anh Tran
9241aeb485 api-ref: Correcting V3 Credentials APIs
Correcting all parameters of Credentials APIs.
http://developer.openstack.org/api-ref/identity/v3/index.html#credentials
Rename parameters for more easy to maintain.

Change-Id: I811558a646d41d2594777b4601fa223d13e193e7
Partial-Bug: #1610777
2016-08-11 08:38:19 +07:00
Lance Bragstad
cab0b50bc5 Correct normal response codes for credential docs
The credential documentation was listing 20X http status codes as Error
response codes. This commit corrects the documentation to list them as Normal
response codes.

Change-Id: Ic9b1f375ada366a8b82924672d442b2790e5154c
2016-07-13 20:08:00 +00:00
Steve Martinelli
ebccd23b78 Add missing preamble for v3 and v3-ext
The api-ref site had a short blurb about the resources listed
in the document, add that back.

Change-Id: I2bac40a250a5b73fb70320d598a12c34c359e3c2
2016-07-04 14:35:49 -07:00
Samuel de Medeiros Queiroz
9a5395f1b2 Migrate identity /v3 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 docs
to our repository under 'api-ref/source' directory. In addition, it
added missing descriptions for access_token_id and consumer_id to
'parameters.yaml'.

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.

This change also adds a tox environment to build the docs using sphinx
under 'api-ref/build', which in turn is added to '.gitignore'.

Lastly, 'os-api-ref' is added as a test requirement. It provides the
sphinx stanzas rest_method and rest_parameter, used to define OpenStack
APIs in RST docs.

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

Change-Id: If1b9a3e1b2e4ea7211c337071254c26b881893a3
2016-05-24 09:58:23 -03:00