Update api-ref location

The api documentation is now published on docs.openstack.org instead
of developer.openstack.org. Update all links that are changed to the
new location.

Note that redirects will be set up as well but let's point now to the
new location.

For details, see:
http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007828.html

Change-Id: I28660f7f7cfce3893071bfb7e29892d34f633856
This commit is contained in:
Andreas Jaeger 2019-07-22 18:20:16 +02:00
parent 23b3b7cee1
commit 35f56232a5
5 changed files with 21 additions and 21 deletions

View File

@ -42,7 +42,7 @@ All end user (and some administrative) features of Zun are exposed via a REST
API, which can be consumed directly. The following resources will help you get
started with consuming the API directly.
* `API Reference <http://developer.openstack.org/api-ref/application-container/>`_
* `API Reference <https://docs.openstack.org/api-ref/application-container/>`_
Alternatively, end users can consume the REST API via various tools or SDKs.
These tools are collected below.

View File

@ -55,7 +55,7 @@ class HTTPNotAcceptableAPIVersion(exc.HTTPNotAcceptable):
except ValueError:
pass
links = {'rel': 'help', 'href': 'https://developer.openstack.org'
links = {'rel': 'help', 'href': 'https://docs.openstack.org'
'/api-guide/compute/microversions.html'}
err['max_version'] = self.max_version

View File

@ -19,7 +19,7 @@ CAPSULE = 'capsule:%s'
rules = [
# FIXME(lbragstad): This API call isn't actually listed in zun's API
# reference:
# https://developer.openstack.org/api-ref/application-container/
# https://docs.openstack.org/api-ref/application-container/
policy.DocumentedRuleDefault(
name=CAPSULE % 'create',
check_str=base.RULE_ADMIN_OR_OWNER,
@ -33,7 +33,7 @@ rules = [
),
# FIXME(lbragstad): This API call isn't actually listed in zun's API
# reference:
# https://developer.openstack.org/api-ref/application-container/
# https://docs.openstack.org/api-ref/application-container/
policy.DocumentedRuleDefault(
name=CAPSULE % 'delete',
check_str=base.RULE_ADMIN_OR_OWNER,
@ -47,7 +47,7 @@ rules = [
),
# FIXME(lbragstad): This API call isn't actually listed in zun's API
# reference:
# https://developer.openstack.org/api-ref/application-container/
# https://docs.openstack.org/api-ref/application-container/
policy.DocumentedRuleDefault(
name=CAPSULE % 'delete_all_projects',
check_str=base.RULE_ADMIN_API,
@ -61,7 +61,7 @@ rules = [
),
# FIXME(lbragstad): This API call isn't actually listed in zun's API
# reference:
# https://developer.openstack.org/api-ref/application-container/
# https://docs.openstack.org/api-ref/application-container/
policy.DocumentedRuleDefault(
name=CAPSULE % 'get',
check_str=base.RULE_ADMIN_OR_OWNER,
@ -75,7 +75,7 @@ rules = [
),
# FIXME(lbragstad): This API call isn't actually listed in zun's API
# reference:
# https://developer.openstack.org/api-ref/application-container/
# https://docs.openstack.org/api-ref/application-container/
policy.DocumentedRuleDefault(
name=CAPSULE % 'get:host',
check_str=base.RULE_ADMIN_API,
@ -97,7 +97,7 @@ rules = [
),
# FIXME(lbragstad): This API call isn't actually listed in zun's API
# reference:
# https://developer.openstack.org/api-ref/application-container/
# https://docs.openstack.org/api-ref/application-container/
policy.DocumentedRuleDefault(
name=CAPSULE % 'get_one_all_projects',
check_str=base.RULE_ADMIN_API,
@ -111,7 +111,7 @@ rules = [
),
# FIXME(lbragstad): This API call isn't actually listed in zun's API
# reference:
# https://developer.openstack.org/api-ref/application-container/
# https://docs.openstack.org/api-ref/application-container/
policy.DocumentedRuleDefault(
name=CAPSULE % 'get_all',
check_str=base.RULE_ADMIN_OR_OWNER,
@ -125,7 +125,7 @@ rules = [
),
# FIXME(lbragstad): This API call isn't actually listed in zun's API
# reference:
# https://developer.openstack.org/api-ref/application-container/
# https://docs.openstack.org/api-ref/application-container/
policy.DocumentedRuleDefault(
name=CAPSULE % 'get_all_all_projects',
check_str=base.RULE_ADMIN_API,

View File

@ -302,7 +302,7 @@ rules = [
),
# FIXME(lbragstad): This API call isn't actually listed in zun's API
# reference (bug #1720924):
# https://developer.openstack.org/api-ref/application-container/
# https://docs.openstack.org/api-ref/application-container/
policy.DocumentedRuleDefault(
name=CONTAINER % 'logs',
check_str=base.RULE_ADMIN_OR_OWNER,
@ -316,7 +316,7 @@ rules = [
),
# FIXME(lbragstad): This API call isn't actually listed in zun's API
# reference (bug #1720925):
# https://developer.openstack.org/api-ref/application-container/
# https://docs.openstack.org/api-ref/application-container/
policy.DocumentedRuleDefault(
name=CONTAINER % 'execute',
check_str=base.RULE_ADMIN_OR_OWNER,
@ -330,7 +330,7 @@ rules = [
),
# FIXME(lbragstad): This API call isn't actually listed in zun's API
# reference (bug #1720926):
# https://developer.openstack.org/api-ref/application-container/
# https://docs.openstack.org/api-ref/application-container/
policy.DocumentedRuleDefault(
name=CONTAINER % 'execute_resize',
check_str=base.RULE_ADMIN_OR_OWNER,
@ -344,7 +344,7 @@ rules = [
),
# FIXME(lbragstad): This API call isn't actually listed in zun's API
# reference (bug #1720927):
# https://developer.openstack.org/api-ref/application-container/
# https://docs.openstack.org/api-ref/application-container/
policy.DocumentedRuleDefault(
name=CONTAINER % 'kill',
check_str=base.RULE_ADMIN_OR_OWNER,
@ -369,7 +369,7 @@ rules = [
),
# FIXME(lbragstad): This API call isn't actually listed in zun's API
# reference (bug #1720928):
# https://developer.openstack.org/api-ref/application-container/
# https://docs.openstack.org/api-ref/application-container/
policy.DocumentedRuleDefault(
name=CONTAINER % 'attach',
check_str=base.RULE_ADMIN_OR_OWNER,
@ -394,7 +394,7 @@ rules = [
),
# FIXME(lbragstad): This API call isn't actually listed in zun's API
# reference (bug #1720929):
# https://developer.openstack.org/api-ref/application-container/
# https://docs.openstack.org/api-ref/application-container/
policy.DocumentedRuleDefault(
name=CONTAINER % 'top',
check_str=base.RULE_ADMIN_OR_OWNER,
@ -408,7 +408,7 @@ rules = [
),
# FIXME(lbragstad): This API call isn't actually listed in zun's API
# reference, verify with someone from zun:
# https://developer.openstack.org/api-ref/application-container/
# https://docs.openstack.org/api-ref/application-container/
policy.DocumentedRuleDefault(
name=CONTAINER % 'get_archive',
check_str=base.RULE_ADMIN_OR_OWNER,
@ -422,7 +422,7 @@ rules = [
),
# FIXME(lbragstad): This API call isn't actually listed in zun's API
# reference, verify with someone from zun:
# https://developer.openstack.org/api-ref/application-container/
# https://docs.openstack.org/api-ref/application-container/
policy.DocumentedRuleDefault(
name=CONTAINER % 'put_archive',
check_str=base.RULE_ADMIN_OR_OWNER,

View File

@ -19,7 +19,7 @@ IMAGE = 'image:%s'
rules = [
# FIXME(lbragstad): This API call isn't actually listed in zun's API
# reference:
# https://developer.openstack.org/api-ref/application-container/
# https://docs.openstack.org/api-ref/application-container/
policy.DocumentedRuleDefault(
name=IMAGE % 'pull',
check_str=base.RULE_ADMIN_API,
@ -33,7 +33,7 @@ rules = [
),
# FIXME(lbragstad): This API call isn't actually listed in zun's API
# reference:
# https://developer.openstack.org/api-ref/application-container/
# https://docs.openstack.org/api-ref/application-container/
policy.DocumentedRuleDefault(
name=IMAGE % 'get_all',
check_str=base.RULE_ADMIN_API,
@ -58,7 +58,7 @@ rules = [
),
# FIXME(lbragstad): This API call isn't actually listed in zun's API
# reference:
# https://developer.openstack.org/api-ref/application-container/
# https://docs.openstack.org/api-ref/application-container/
policy.DocumentedRuleDefault(
name=IMAGE % 'search',
check_str=base.RULE_ADMIN_OR_OWNER,