7158812048
The Image API v1 Reference was removed by change I65ef76fec0029949f8de867d711e745b7aa7f81d. Redirect requests for api-ref/image/v1/ to the base api-ref/image/ document that contains a section "What happened to the v1 API?". Change-Id: I14a49f3809bed9f3e3f02eab9c5b2029907977ac Closes-bug: #1778579
72 lines
4.0 KiB
ApacheConf
72 lines
4.0 KiB
ApacheConf
# Redirect the old API reference URLs to the new location with official service types
|
|
redirect 301 /api-ref/networking/ /api-ref/network/
|
|
redirect 301 /api-ref/object-storage/ /api-ref/object-store/
|
|
redirect 301 /api-ref/messaging/ /api-ref/message/
|
|
redirect 301 /api-ref/shared-file-systems/ /api-ref/shared-file-system/
|
|
redirect 301 /api-ref/resource-cluster/ /api-ref/clustering/
|
|
|
|
# --------------------------------------------
|
|
# Redirect related to API ref per project team
|
|
# --------------------------------------------
|
|
# Redirect Block Storage API v1 to v2 and v3 landing
|
|
redirect 301 /api-ref/block-storage/v1/index.html /api-ref/block-storage/index.html
|
|
# Redirect Networking extensions to landing
|
|
redirect 301 /api-ref/networking/v2-ext/ /api-ref/network/index.html
|
|
|
|
# -------------------------------------------------------------
|
|
# Redirect from centralized API ref to API ref per project team
|
|
# -------------------------------------------------------------
|
|
# Redirect for the new file name for complete reference page
|
|
redirect 301 /api-reference.html /api-guide/quick-start/index.html
|
|
redirect 301 /api-specs.html /api-ref-guides.html
|
|
redirect 301 /api-ref.html /api-guide/quick-start/index.html
|
|
# Redirect Compute API reference v3 to v2.1
|
|
redirect 301 /api-ref-compute-v3.html /api-ref/compute/
|
|
# Redirect Compute API reference v2.0 to v2.1
|
|
redirect 301 /api-ref-compute-v2.html /api-ref/compute/
|
|
redirect 301 /api-ref-compute-v2-ext.html /api-ref/compute/
|
|
# Redirect Compute API v2.1 reference to in-tree Nova api-ref
|
|
redirect 301 /api-ref-compute-v2.1.html /api-ref/compute/
|
|
# Redirect Clustering API reference
|
|
redirect 301 /api-ref-clustering-v1.html /api-ref/api-ref/clustering/index.html
|
|
# Redirect plural databases file name to database
|
|
redirect 301 /api-ref-databases-v1.html /api-ref-database-v1.html
|
|
# Redirect Data Processing v1.1
|
|
redirect 301 /api-ref-data-processing-v1.1.html /api-ref/data-processing/index.html
|
|
# Redirect WADL-based Bare Metal API docs to in-tree docs
|
|
redirect 301 /api-ref-baremetal-v1.html /api-ref/baremetal/index.html
|
|
# Redirect WADL-based Block Storage API docs to in-tree docs
|
|
redirect 301 /api-ref-blockstorage-v1.html /api-ref/block-storage/index.html
|
|
redirect 301 /api-ref-blockstorage-v2.html /api-ref/block-storage/index.html
|
|
# Redirect WADL-based Identity API docs to in-tree docs
|
|
redirect 301 /api-ref-identity-v2.html /api-ref/identity/v2/index.html
|
|
redirect 301 /api-ref-identity-admin-v2.html /api-ref/identity/v2-admin/index.html
|
|
redirect 301 /api-ref-identity-v2-ext.html /api-ref/identity/v2-ext/index.html
|
|
redirect 301 /api-ref-identity-v3.html /api-ref/identity/v3/index.html
|
|
redirect 301 /api-ref-identity-v3-ext.html /api-ref/identity/v3-ext/index.html
|
|
# Redirect WADL-based Images API docs to in-tree docs
|
|
redirect 301 /api-ref-image-v1.html /api-ref/image/index.html
|
|
redirect 301 /api-ref-image-v2.html /api-ref/image/index.html
|
|
# Redirect WADL-based Networking API docs to in-tree docs
|
|
redirect 301 /api-ref-networking-v2.html /api-ref/network/v2/index.html
|
|
redirect 301 /api-ref-networking-v2-ext.html /api-ref/network/v2/index.html
|
|
# Redirect WADL-based Object Storage API docs to in-tree docs
|
|
redirect 301 /api-ref-objectstorage-v1.html /api-ref/object-store/index.html
|
|
# Redirect Orchestration API
|
|
redirect 301 /api-ref-orchestration-v1.html /api-ref/orchestration/index.html
|
|
# Redirect Shared File Systems API v2
|
|
redirect 301 /api-ref-share-v2.html /api-ref/shared-file-system/index.html
|
|
# Redirect Shared File Systems API v1
|
|
redirect 301 /api-ref-share-v1.html /api-ref/shared-file-system/index.html
|
|
# Redirect Telemetry (ceilometer only) API
|
|
redirect 301 /api-ref-telemetry-v2.html https://docs.openstack.org/ceilometer/latest/webapi/v2.html
|
|
# Redirect no-longer-existing Image API v1 docs to intro page
|
|
redirect 301 /api-ref/image/v1/ /api-ref/image/
|
|
|
|
# Redirect service-type aliases to service-type api-ref locations
|
|
{% for alias, service_type in REVERSE.items() -%}
|
|
redirectmatch 301 /api-ref/{{ alias }}/(.*) /api-ref/{{ service_type }}/$1
|
|
{% endfor %}
|
|
|
|
redirect 301 /sdks/python/openstacksdk https://docs.openstack.org/openstacksdk/latest/
|