Querying Versions of VPC Endpoint APIs
Function
This API is used to query versions of VPC Endpoint APIs.
Calling Method
For details, see Calling APIs.
URI
GET /
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
Content-Type |
No |
String |
Specifies the MIME type of the request body. Default value application/json is recommended. For APIs used to upload objects or images, the MIME type varies depending on the flow type. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
versions |
Array of VersionObject objects |
Specifies the list of VPCEP versions. |
Parameter |
Type |
Description |
---|---|---|
status |
String |
Specifies the version status. - CURRENT: indicates a widely used version. - SUPPORT: indicates an earlier version that is still supported. - DEPRECATED: indicates a deprecated version which may be deleted later. |
id |
String |
Specifies the version ID.
|
updated |
String |
Specifies the time the API version was released. The applied UTC time format is YYYY-MMDDTHH:MM:SSZ. |
version |
String |
Specifies the supported version number. |
min_version |
String |
Specifies the supported microversion number. If the APIs do not support microversions, the parameter is left blank. |
links |
Array of Link objects |
Specifies the API URL. |
Example Requests
Querying versions of VPCEP APIs
GET https://{endpoint}/
Example Responses
Status code: 200
The server has successfully processed the request.
{ "versions" : [ { "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
Status Code |
Description |
---|---|
200 |
The server has successfully processed the request. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.