Minor corrections in OS-OAUTH1 api documentation

Change response codes to 201 for the following API
https://developer.openstack.org/api-ref/identity/v3-ext/#create-request-token
https://developer.openstack.org/api-ref/identity/v3-ext/#create-access-token

Change request type to PUT for the following API
https://developer.openstack.org/api-ref/identity/v3-ext/#authorize-request-token

Change-Id: If9a4d66e6acb9379cef4335167f63631c034831a
Closes-Bug: #1684028
This commit is contained in:
Hemanth Nakkina 2017-04-19 12:49:41 +05:30
parent c7ab7c5677
commit 502f783bd3

View File

@ -217,7 +217,7 @@ request. See `Consumer Obtains a Request Token
Relationship: ``https://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/request_tokens`` Relationship: ``https://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/request_tokens``
Normal response codes: 200 Normal response codes: 201
Error response codes: 413, 415, 405, 404, 403, 401, 400, 503, 409 Error response codes: 413, 415, 405, 404, 403, 401, 400, 503, 409
@ -247,7 +247,7 @@ Response
Authorize request token Authorize request token
======================= =======================
.. rest_method:: POST /v3/OS-OAUTH1/authorize/{request_token_id} .. rest_method:: PUT /v3/OS-OAUTH1/authorize/{request_token_id}
To authorize the Request Token, the authorizing user must have access to the To authorize the Request Token, the authorizing user must have access to the
requested project. Upon successful authorization, an OAuth Verifier code is requested project. Upon successful authorization, an OAuth Verifier code is
@ -289,7 +289,7 @@ request. See `Consumer Requests an Access Token
Relationship: ``https://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/access_tokens`` Relationship: ``https://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/access_tokens``
Normal response codes: 200 Normal response codes: 201
Error response codes: 413, 415, 405, 404, 403, 401, 400, 503, 409 Error response codes: 413, 415, 405, 404, 403, 401, 400, 503, 409