Querying the Version of a Specified VPCEP API¶
Function¶
This API is used to query the version of a specified VPCEP API.
URI¶
GET /{version}
Request¶
Response¶
Parameters
¶ Parameter
Type
Description
status
String
Specifies the version status.
CURRENT: indicates a major version.
SUPPORT: indicates an earlier version which is still supported.
DEPRECATED: indicates a deprecated version that may be deleted later.
id
String
Specifies the version ID.
updated
String
Specifies the time when the API version was released.
The UTC time format is used: YYYY-MM-DDTHH:MM:SSZ.
version
String
Specifies the supported version.
min_version
String
Specifies the microversion number. If the APIs do not support microversions, the value is left blank.
links
Array of objects
Specifies the API URL. For details, see Table 4.
¶ Parameter
Type
Description
href
String
Specifies the reference address of the current API version.
type
String
Specifies the MIME type of the entity sending the request. The value is application/json.
rel
String
Specifies the relationship between the current API version and the referenced address.
Example response
{ "version":{ { "updated":"2018-09-30T00:00:00Z", "version":"1", "min_version":"", "status":"CURRENT", "id":"v1", "links":[ { "href":"https://{vpcep_uri}/v1", "type":"application/json", "rel":"self" } ] } } }
Status Code¶
For details about status codes, see Status Code.