Mark OSS detection results
You can call the MarkOssResult API to manually mark the status of an OSS scan result based on its Data ID. You can mark a result as normal and ignore it, mark it as non-compliant and delete it, or mark it as normal and restore it.
Usage notes
You can call this operation to mark OSS detection results. For more information about how to construct an HTTP request, see Request structure. You can also use an SDK to call this operation. For more information, see SDK overview.
Billing: This operation is free of charge.
QPS limit
The queries per second (QPS) limit for this API is 10 per user. Exceeding this limit triggers throttling, which can impact your business. Plan your calls accordingly.
Request parameters
For more information about the common request parameters that must be included in a request, see Common parameters.
| Name | Type | Required | Example | Description |
| Ids | List | Yes | [1,2,3] | A list of OSS data IDs to process. Note Obtain the data IDs by calling the DescribeOssResultItems operation. |
| Operation | String | Yes | delete | The marking operation. Valid values:
|
| Stock | Boolean | Yes | true | Specifies whether the object is a stock object. Valid values:
|
| ResourceType | String | Yes | VIDEO | The type of object to mark. Valid values:
|
| Scene | String | No | porn | The detection scenario. Valid values:
|
Returned data
For more information about the response, see Response parameters.
Examples
http(s)://green.cn-shanghai.aliyuncs.com/?
Action=MarkOssResult&ServiceModule=open_api
&<Common request parameters>
{
"Ids": ["123"],
"Operation": "delete",
"Stock": true,
"ResourceType": "VIDEO"
}{
"code": "200",
"data": {
"Code": 200,
"Message": "OK"
},
"requestId": "@guid",
"successResponse": true
}