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
- Parameter
Table 2 Response parameter Parameter
Type
Description
version
Object
Lists the versions of VPCEP APIs. For details, see Table 3.
Table 3 VersionModel 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.
Table 4 VersionLink parameters 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 Codes
See Status 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