@@ -32,7 +32,7 @@ There are multiple cases which you can resolve with microversions:
32
32
compatible with the old API. This prevents the old client from breaking with
33
33
backwards incompatible API changes.
34
34
35
- Currently the minimum version of microversions is `2.1 `, which is a
35
+ Currently the minimum version of microversions is `` 2.1 ` `, which is a
36
36
microversion compatible with the legacy v2 API. That means the legacy v2 API
37
37
user doesn't need to worry that their older client software will be broken
38
38
when their cloud is upgraded with new versions. And the cloud operator
@@ -52,7 +52,7 @@ Version Discovery
52
52
The Version API will return the minimum and maximum microversions. These values
53
53
are used by the client to discover the API's supported microversion(s).
54
54
55
- Requests to `/ ` will get version info for all endpoints. A response would look
55
+ Requests to `` / ` ` will get version info for all endpoints. A response would look
56
56
as follows::
57
57
58
58
{
@@ -89,14 +89,14 @@ as follows::
89
89
``version `` is the maximum microversion, ``min_version `` is the minimum
90
90
microversion. If the value is the empty string, it means this endpoint doesn't
91
91
support microversions; it is a legacy v2 API endpoint -- for example, the
92
- endpoint `http://openstack.example.com/v2/ ` in the above sample. The endpoint
93
- `http://openstack.example.com/v2.1/ ` supports microversions; the maximum
94
- microversion is `2.14 `, and the minimum microversion is `2.1 `. The client
92
+ endpoint `` http://openstack.example.com/v2/ ` ` in the above sample. The endpoint
93
+ `` http://openstack.example.com/v2.1/ ` ` supports microversions; the maximum
94
+ microversion is `` 2.14 `` , and the minimum microversion is `` 2.1 ` `. The client
95
95
should specify a microversion between (and including) the minimum and maximum
96
96
microversion to access the endpoint.
97
97
98
98
You can also obtain specific endpoint version information by performing a GET
99
- on the base version URL (e.g., `http://openstack.example.com/v2.1/ `). You can
99
+ on the base version URL (e.g., `` http://openstack.example.com/v2.1/ ` `). You can
100
100
get more information about the version API at :doc: `versions `.
101
101
102
102
Client Interaction
@@ -107,7 +107,7 @@ HTTP header::
107
107
108
108
X-OpenStack-Nova-API-Version: 2.4
109
109
110
- Starting with microversion `2.27 ` it is also correct to use the
110
+ Starting with microversion `` 2.27 ` ` it is also correct to use the
111
111
following header to specify the microversion::
112
112
113
113
OpenStack-API-Version: compute 2.27
@@ -118,7 +118,7 @@ following header to specify the microversion::
118
118
This acts conceptually like the "Accept" header. Semantically this means:
119
119
120
120
* If neither ``X-OpenStack-Nova-API-Version `` nor ``OpenStack-API-Version ``
121
- (specifying `compute `) is provided, act as if the minimum supported
121
+ (specifying `` compute ` `) is provided, act as if the minimum supported
122
122
microversion was specified.
123
123
124
124
* If both headers are provided, ``OpenStack-API-Version `` will be preferred.
@@ -128,9 +128,9 @@ This acts conceptually like the "Accept" header. Semantically this means:
128
128
of microversions supported, return 406 Not Acceptable.
129
129
130
130
* If ``X-OpenStack-Nova-API-Version `` or ``OpenStack-API-Version `` has a value
131
- of `latest ` (special keyword), act as if maximum was specified.
131
+ of `` latest ` ` (special keyword), act as if maximum was specified.
132
132
133
- .. warning :: The `latest` value is mostly meant for integration testing and
133
+ .. warning :: The `` latest` ` value is mostly meant for integration testing and
134
134
would be dangerous to rely on in client code since microversions are not
135
135
following semver and therefore backward compatibility is not guaranteed.
136
136
Clients should always require a specific microversion but limit what is
@@ -140,7 +140,7 @@ This means that out of the box, an old client without any knowledge of
140
140
microversions can work with an OpenStack installation with microversions
141
141
support.
142
142
143
- In microversions prior to `2.27 ` two extra headers are always returned in
143
+ In microversions prior to `` 2.27 ` ` two extra headers are always returned in
144
144
the response::
145
145
146
146
X-OpenStack-Nova-API-Version: microversion_number
@@ -153,7 +153,7 @@ The ``Vary`` header is used as a hint to caching proxies that the response
153
153
is also dependent on the microversion and not just the body and query
154
154
parameters. See :rfc: `2616 ` section 14.44 for details.
155
155
156
- From microversion `2.27 ` two additional headers are added to the
156
+ From microversion `` 2.27 ` ` two additional headers are added to the
157
157
response::
158
158
159
159
OpenStack-API-Version: compute microversion_number
0 commit comments