Tenant Cloud
Security
Cloud Workload Protection Platform
Intrusion Detection - File Scanning and Cleaning APIs
RecoverMalwares
1. Interface Description
Interface request domain name: cwp.api3.convergecloud.com.
This API is used to recover isolated trojan files in a batch.
Default interface request rate limit: 20 times per second.
Interface update time: 2022-05-20 15:11:35.
The interface is both signature verification and authentication.
2. Input Parameters
The following list of request parameters only lists interface request parameters and some public parameters, For a complete list of public parameters see public request parameters.
| Parameter name | Required | Allow NULL | Type | Description |
|---|---|---|---|---|
| Action | Yes | No | String | Public parameter, The value of this interface: RecoverMalwares |
| Version | Yes | No | String | Public parameter, The value of this interface: 2018-02-28 |
| Region | No | No | String | Public parameter,Regional information This interface does not need to pass this parameter. |
| Ids | Yes | No | Array of Uint64 | Up to 100 trojan IDs. Example: [1002,1003] |
3. Output Parameters
| Parameter name | Type | Description |
|---|---|---|
| FailedIds | Array of Uint64 | IDs of trojan files that failed to be recovered. If no trojan files failed to be recovered, this parameter returns an empty string. Example: [1003] |
| SuccessIds | Array of Uint64 | IDs of trojan files that are successfully recovered. If no trojan files are successfully recovered, this parameter returns an empty string. Example: [1002] |
| RequestId | String | Unique request id, Each request will return. The RequestId of the request needs to be provided when locating the problem. |
4. Error Code
The following lists only the error codes related to the interface business logic, For other error codes, see public ErrorCode.
| Error Code | Description |
|---|---|
| InternalError | Internal error. |
| InvalidParameter.ParsingError | Parameter parsing error. |
| InvalidParameter.MissingParameter | Missing parameter. |
| InvalidParameter.InvalidFormat | Incorrect parameter format. |
| MissingParameter | Missing parameter. |
| FailedOperation.Recover | Failed to recover the trojan. |
| InvalidParameter | Invalid parameter. |
| InvalidParameterValue | The parameter value is invalid. |
| FailedOperation | Operation failed. |