remove /v2.1/{tenant_id} from all urls
As discussed at summit, the version part of the URL is not really relevant, or a thing a user should be filling out themselves, this should instead be set by the service catalog and extracted from the token. This removes it's reference in all documented REST urls, and adds a new section describing how one gets the base URL for all calls. Change-Id: I4306b8c3de0225e54f3909dd8a1fb293c4e5944c
This commit is contained in:
60 changed files with 380 additions and 694 deletions
@@ -25,7 +25,7 @@ For information about extensions, see `Extensions
List Extensions
===============
.. rest_method:: GET /v2.1/{tenant_id}/extensions
.. rest_method:: GET /extensions
Lists all extensions to the API.
@@ -33,12 +33,6 @@ Normal response codes: 200
Error response codes: unauthorized(401)
Request
-------
.. rest_parameters:: parameters.yaml
- tenant_id: tenant_id
Response
--------
@@ -64,7 +58,7 @@ Lists all extensions to the API.
Show Extension Details
======================
.. rest_method:: GET /v2.1/{tenant_id}/extensions/{alias}
.. rest_method:: GET /extensions/{alias}
Shows details for an extension, by alias.
@@ -77,7 +71,6 @@ Request
.. rest_parameters:: parameters.yaml
- tenant_id: tenant_id
- alias: alias
Response
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.