Queries the details about an instance based on the instance ID.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /v2/openapi/instances/{instanceId}
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
instanceId | string | Yes | The instance ID. | airec-cn-xxxxx |
Response parameters
Examples
Sample success responses
JSON
format
{
"result": {
"regionId": "cn-beijing",
"type": "Standard",
"lockMode": "Unlock",
"expiredTime": "2019-01-06T16:00:00.000Z",
"scene": "gul",
"status": "Running",
"gmtCreate": "2018-12-06T06:14:01.000Z",
"chargeType": "PrePaid",
"industry": "news",
"commodityCode": "airecpre",
"gmtModified": "2018-12-06T11:17:49.000Z",
"dataSetVersion": "20181206170353",
"name": "Test instance\n",
"instanceId": "airec-cn-o400whm78004"
},
"code": "InternalServerError",
"requestId": "8F81A922-6C81-46D6-B78C-CC35E16B1691",
"message": "An internal server error occurred"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history