Querying a Specified API Version
Function
This API is used to query a specified API version.
URI
GET /{api_version}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
api_version |
Yes |
String |
API version to be queried. Value: v1 |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token obtained from IAM. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
id |
String |
Version ID. |
links |
String |
URL for displaying version information. |
version |
String |
API microversion information. |
status |
String |
Version status. Default value: CURRENT Value:
|
updated |
String |
Version update time. |
Example Request
GET https://{endpoint}/{api_version}
Example Response
Status code: 200
Request succeeded.
{ "id" : "v1", "links" : "", "version" : "", "status" : "CURRENT", "updated" : "2021-05-24T05:44:04Z" }
Status Codes
Status code |
Description |
---|---|
200 |
Request succeeded. |
Error Codes
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.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot