Querying an API Version (Native OpenStack API)
Function
This API is used to query a specified API version, such as version compatibility and domain name information of an API.
Response
- Response parameters
Parameter
Type
Description
versions
Array of objects
Specifies the version.
For details, see Table 2.
Table 2 Data structure description of the versions field Parameter
Type
Description
status
String
Specifies the API status.
id
String
Specifies the API ID.
links
Array of objects
Specifies the description.
For details, see Table 3.
- Example response
STATUS CODE 300
1 2 3 4 5 6 7 8 9 10 11 12 13 14
{ "versions": [ { "status": "SUPPORTED", "id": "v2.0", "links": [ { "href": "https://image.az1.dc1.domainname.com/v2/", "rel": "self" } ] } ] }
Returned Values
- Normal
- Abnormal
Returned Values
Description
400 Bad Request
Request error.
401 Unauthorized
Authentication failed.
403 Forbidden
You do not have the rights to perform the operation.
404 Not Found
The requested resource was not found.
500 Internal Server Error
Internal service error.
503 Service Unavailable
The service is unavailable.
Last Article: Querying API Versions (Native OpenStack API)
Next Article: Examples
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.