Tenant Cloud
Security
Cloud Workload Protection Platform
Security Operations APIs
CreateSearchTemplate
1. Interface Description
Interface request domain name: cwp.api3.convergecloud.com.
API for creating a search template
Default interface request rate limit: 20 times per second.
Interface update time: 2023-02-09 16:57:33.
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: CreateSearchTemplate |
| 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. |
| SearchTemplate | Yes | No | SearchTemplate | Search template. Example:View |
3. Output Parameters
| Parameter name | Type | Description |
|---|---|---|
| Message | String | Failure reason Example: A record with the same name already exists |
| Status | Uint64 | A value of 0 indicates that the request is successful. A non-zero value indicates that the request has failed. Example: 0 |
| 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. |
| MissingParameter | Missing parameter. |
| InvalidParameter | Invalid parameter. |
| InvalidParameterValue | The parameter value is invalid. |
| InvalidParameter.NameHasRepetition | The name already exists. |