Stops a specific version of a dataset for a specified instance.
Try it now
Test
RAM authorization
Request syntax
POST /v2/openapi/instances/{instanceId}/dataSets/{versionId}/actions/stop HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
The instance ID. |
airec-cn-o400whm78004 |
| versionId |
string |
Yes |
The version number. |
20181023214546 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| result |
object |
The details of the dataset. |
|
| versionId |
string |
The version number. |
20181023214546 |
| state |
string |
The status of the dataset version. `Importing` indicates that the data is being imported. |
Importing |
| gmtModified |
integer |
The time when the data source was last modified. |
1544112000000 |
| gmtCreate |
integer |
The time when the data source was created. |
1544112000000 |
| instanceId |
string |
The instance ID. |
airec-cn-o400whm78004 |
| code |
string |
The error code. |
InternalServerError |
| requestId |
string |
The request ID. |
8F81A922-6C81-46D6-B78C-CC35E16B1691 |
| message |
string |
The error details. |
An internal server error occurred |
Examples
Success response
JSON format
{
"result": {
"versionId": "20181023214546",
"state": "Importing",
"gmtModified": 1544112000000,
"gmtCreate": 1544112000000,
"instanceId": "airec-cn-o400whm78004"
},
"code": "InternalServerError",
"requestId": "8F81A922-6C81-46D6-B78C-CC35E16B1691",
"message": "An internal server error occurred"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.