Querying API Versions¶
Function¶
This API is used to query the supported API versions.
URI¶
GET https://{Endpoint}/
Request Parameters¶
None
Response Parameters¶
Status code: 200
Parameter  | Type  | Description  | 
|---|---|---|
versions  | Array of ApiVersionResponse objects  | API version information  | 
Parameter  | Type  | Description  | 
|---|---|---|
id  | String  | API version number  | 
links  | Array of Links objects  | API link information Note If the version is v3, the value is [].  | 
status  | String  | Version status  | 
version  | String  | Subversion information of the API version  | 
min_version  | String  | Minimum API version number  | 
updated  | String  | 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 UTC.  | 
Parameter  | Type  | Description  | 
|---|---|---|
href  | String  | API URL. The value is "".  | 
rel  | String  | The value is self, indicating that URL is a local link.  | 
Example Requests¶
URI example
GET https://{Endpoint}/
Example Response¶
Status code: 200
Success
{
  "versions" : [ {
    "id" : "v3",
    "links" : [ ],
    "status" : "CURRENT",
    "version" : "",
    "min_version" : "",
    "updated" : "2019-10-30T17:34:02Z"
  } ]
}
Status Codes¶
For details, see Status Codes.
Error Codes¶
For details, see Error Codes.