Querying API Versions
Function
This API is used to query the supported RDS API versions.
The v1 API documentation has been brought offline, and so will the corresponding software. To prevent your services from being affected, you are advised to switch services to the v3 API.
- Before calling an API, you need to understand the API in Authentication.
- Before calling this API, obtain the required region and endpoint.
URI
Request
None
Response
- Normal response
Table 1 Parameter description Name
Type
Description
versions
Array of objects
Indicates the list of detailed API version information.
For details, see Table 2.
Table 2 versions field data structure description Name
Type
Description
id
String
Indicates the API version.
- v1: indicates the API v1 version.
NOTICE:
The v1 API documentation has been brought offline, and so will the corresponding software. To prevent your services from being affected, you are advised to switch services to the v3 API.
- v3: indicates the API v3 version.
links
Array of objects
Indicates the API link information. The value is empty when the version is v1 or v3.
For details, see Table 3.
status
String
Indicates the version status.
CURRENT: indicates that the version is recommended.
DEPRECATED: indicates a deprecated version which may be deleted later.
updated
String
Indicates the version update time.
The format is yyyy-mm-dd Thh:mm:ssZ.
T is the separator between the calendar and the hourly notation of time. Z indicates the Coordinated Universal Time (UTC).
- v1: indicates the API v1 version.
- Example normal response
{ "versions": [{ "id": "v3", "links": [], "status": "CURRENT", "updated": "2019-01-15T12:00:00Z" }, { "id": "v1", "links": [], "status": "DEPRECATED", "updated": "2017-02-07T17:34:02Z" } ] }
- Abnormal response
For details, see Abnormal Request Results.
Status Code
For details, see Status Codes.
Error Code
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot