Querying a Specified API Version
Function
This API is used to query the specified API version.
- Before calling an API, you need to understand the API in Authentication.
URI
- URI format
- Parameter description
Table 1 Parameter description Name
Mandatory
Description
version
Yes
Specifies the API version. It is case-sensitive.
For details, see id in Table 2 in section Querying API Versions.
Response
- Normal response
Table 2 Parameter description Name
Type
Description
versions
Object
Indicates the list of detailed API version information.
For details, see Table 3.
version
Object
Indicates the list of detailed API version information.
For details, see Table 3.
Table 3 versions field data structure description Name
Type
Description
id
String
Indicates the API version.
links
Array
Indicates the API version link information. Its value is empty.
For details, see Table 4.
status
String
Indicates the version status.
updated
String
Indicates the version update time in the "yyyy-mm-dd Thh:mm:ssZ" format.
T is the separator between the calendar and the hourly notation of time. Z indicates the UTC.
- Example normal response
{ "version": { "id": "v3", "links": [], "status": "CURRENT", "updated": "2017-02-07T17:34:02Z" }, "versions": { "id": "v3", "links": [], "status": "CURRENT", "updated": "2017-02-07T17:34:02Z" } }
- Abnormal response
For details, see Abnormal Request Results.
Status Code
- Normal
- Abnormal
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.