Add relationship links to OAUTH APIs

These were taken directly from the specs repo

Change-Id: I227841dabd0b2e944d89d2110bc6d52dd982a884
This commit is contained in:
Steve Martinelli 2016-07-14 11:11:53 -07:00
parent 5ac2029856
commit 534f57de93
1 changed files with 26 additions and 0 deletions

View File

@ -63,6 +63,8 @@ Create consumer
Enables a user to create a consumer.
Relationship: ``http://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/consumers``
Normal response codes: 201
Error response codes: 413, 415, 405, 404, 403, 401, 400, 503, 409
@ -90,6 +92,8 @@ Deletes a consumer.
When you delete a consumer, any associated request tokens, access
tokens, and Identity API tokens are also deleted.
Relationship: ``http://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/consumer``
Normal response codes: 204
Error response codes: 413, 415, 405, 404, 403, 401, 400, 503, 409
@ -108,6 +112,8 @@ List consumers
Lists consumers.
Relationship: ``http://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/consumers``
Normal response codes: 200
Error response codes: 413, 405, 404, 403, 401, 400, 503
@ -125,6 +131,8 @@ Show consumer details
Shows details for a consumer.
Relationship: ``http://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/consumer``
Normal response codes: 200
Error response codes: 413, 405, 404, 403, 401, 400, 503
@ -152,6 +160,8 @@ Updates the description for a consumer.
If you try to update any attribute other than description, the HTTP
400 Bad Request error is returned.
Relationship: ``http://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/consumer``
Normal response codes: 200
Error response codes: 413, 415, 405, 404, 403, 401, 400, 503, 409
@ -187,6 +197,8 @@ The consumer must provide all required OAuth parameters in the
request. See `Consumer Obtains a Request Token
<http://oauth.net/core/1.0a/#auth_step1>`_.
Relationship: ``http://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/request_tokens``
Normal response codes: 200
Error response codes: 413, 415, 405, 404, 403, 401, 400, 503, 409
@ -253,6 +265,8 @@ You must provide all required OAuth parameters in the request. See
`Consumer Obtains a Request Token
<http://oauth.net/core/1.0a/#auth_step1>`_.
Relationship: ``http://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/access_tokens``
Normal response codes: 200
Error response codes: 413, 415, 405, 404, 403, 401, 400, 503, 409
@ -270,6 +284,8 @@ Get authorized access token
Gets an authorized access token.
Relationship: ``http://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/user_access_token``
Normal response codes: 200
Error response codes: 413, 405, 404, 403, 401, 400, 503
@ -297,6 +313,8 @@ Enables a user to revoke an access token, which prevents the consumer from
requesting new Identity Service API tokens. Also, revokes any Identity Service
API tokens that were issued to the consumer through that access token.
Relationship: ``http://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/user_access_token``
Normal response codes: 204
Error response codes: 413, 415, 405, 404, 403, 401, 400, 503, 409
@ -316,6 +334,8 @@ List authorized access tokens
Lists authorized access tokens.
Relationship: ``http://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/user_access_tokens``
Normal response codes: 200
Error response codes: 413, 405, 404, 403, 401, 400, 503
@ -340,6 +360,8 @@ List roles for an access token
Lists associated roles for an access token.
Relationship: ``http://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/user_access_token_roles``
Normal response codes: 200
Error response codes: 413, 415, 405, 404, 403, 401, 400, 503
@ -359,6 +381,8 @@ Show role details for an access token
Shows details for a role for an access token.
Relationship: ``http://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/user_access_token_role``
Normal response codes: 200
Error response codes: 413, 415, 405, 404, 403, 401, 400, 503
@ -401,5 +425,7 @@ Example OAuth-specific object in a token:
"access_token_id": "cce0b8be7"
}
Relationship: ``http://docs.openstack.org/identity/rel/v3/auth_tokens``
Normal response codes: 200
Error response codes: 413, 405, 404, 403, 401, 400, 503