This API is used to query a specified API version, such as version compatibility and domain name information of an API.
Parameter |
Type |
Description |
---|---|---|
versions |
Array of objects |
Specifies the version. For details, see Table 2. |
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. |
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 |
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. |