DescribeAuditContent
Queries the list of self-service moderation content.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-greenweb:DescribeAuditContent |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the visitor. |
14.145.***.79 |
| Lang |
string |
No |
The language. |
zh |
| TotalCount |
integer |
No |
The total number of entries. |
20 |
| PageSize |
integer |
No |
The number of entries per page. |
20 |
| CurrentPage |
integer |
No |
The current page number. |
1 |
| StartDate |
string |
Yes |
The start time. Format: YYYY-MM-DD HH:mm:ss (default time zone: UTC+08:00). |
2023-04-13 00:00:00 +0800 |
| EndDate |
string |
Yes |
The end time. Format: YYYY-MM-DD HH:mm:ss (default time zone: UTC+08:00). |
2023-05-05 23:59:59 +0800 |
| Scene |
string |
No |
Scenarios. |
porn |
| Suggestion |
string |
No |
The processing suggestion. Valid values:
|
pass |
| Label |
string |
No |
The label. |
terrorism |
| TaskId |
string |
No |
The task ID. |
img5owu4zBQk*****6UZHP5t5-1yR@3j |
| DataId |
string |
No |
The data ID. |
5cb170f7689247e6a58b156b4fbc8476 |
| BizType |
string |
No |
The business scenario. |
recommend_social_template_01 |
| AuditResult |
string |
No |
The moderation result. |
noAudit |
| ResourceType |
string |
Yes |
The resource type. |
IMAGE |
| ImageId |
string |
No |
The image ID. |
xxx |
| KeywordId |
string |
No |
The keyword. |
xxx |
| LibType |
string |
No |
The library type. |
textKeyword |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| CurrentPage |
integer |
The current page number. |
1 |
| RequestId |
string |
The request ID. |
AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE**** |
| PageSize |
integer |
The number of entries per page. |
10 |
| TotalCount |
integer |
The total number of entries. |
24 |
| AuditContentList |
array<object> |
The list of moderation content. |
|
|
array<object> |
The list of moderation content. |
||
| Suggestion |
string |
The moderation suggestion. Valid values:
|
block |
| Url |
string |
The task URL. |
https://www.xxx.com/xxx.jpg |
| DataId |
string |
The data ID. |
5cb170f7689247e6a58b156b4fbc8476 |
| BizType |
string |
The business scenario. |
recommend_social_template_01 |
| NewUrl |
string |
The URL after the content is stored. |
https://www.xxx.com/xxx.jpg |
| ScanFinishedTime |
string |
The time when the scan is completed. Format: YYYY-MM-DD HH:mm:ss (default time zone: UTC+08:00). |
2023-05-05 23:59:59 +0800 |
| AuditResult |
string |
The moderation result. |
noAudit |
| TaskId |
string |
The task ID. |
img5VB@6A****5HNUkpBXyoy-1zvats |
| Content |
string |
The moderation content. |
xxx |
| Thumbnail |
string |
The thumbnail URL. |
https://www.xxx.com/xxx.jpg |
| Audit |
integer |
The moderation status. |
0 |
| Id |
integer |
The primary key ID. |
22136 |
| RequestTime |
string |
The request time. The value is a Unix/POSIX timestamp in milliseconds. |
1710293064524 |
| Results |
array<object> |
The moderation result. |
|
|
object |
The moderation result. |
||
| Suggestion |
string |
The moderation suggestion. Valid values:
|
block |
| Label |
string |
The label. |
bloody |
| Scene |
string |
The moderation scenario. |
political |
| FrameResults |
array<object> |
The result set. |
|
|
object |
The result set. |
||
| Offset |
integer |
The frame capture offset. |
0 |
| Url |
string |
URL。 |
https://www.xxx.com/xxx.jpg |
| Label |
string |
The label. |
weapon |
| AuditIllegalReasons |
array |
The moderation remarks. |
|
|
string |
The moderation remarks. |
[\"terrorism\"] |
Examples
Success response
JSON format
{
"CurrentPage": 1,
"RequestId": "AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****",
"PageSize": 10,
"TotalCount": 24,
"AuditContentList": [
{
"Suggestion": "block",
"Url": "https://www.xxx.com/xxx.jpg",
"DataId": "5cb170f7689247e6a58b156b4fbc8476",
"BizType": "recommend_social_template_01",
"NewUrl": "https://www.xxx.com/xxx.jpg\n",
"ScanFinishedTime": "2023-05-05 23:59:59 +0800\n",
"AuditResult": "noAudit",
"TaskId": "img5VB@6A****5HNUkpBXyoy-1zvats",
"Content": "xxx",
"Thumbnail": "https://www.xxx.com/xxx.jpg\n",
"Audit": 0,
"Id": 22136,
"RequestTime": "1710293064524",
"Results": [
{
"Suggestion": "block",
"Label": "bloody",
"Scene": "political"
}
],
"FrameResults": [
{
"Offset": 0,
"Url": "https://www.xxx.com/xxx.jpg\n",
"Label": "weapon"
}
],
"AuditIllegalReasons": [
"[\\\"terrorism\\\"]"
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | Missing required parameter. | Required parameter is missing. |
| 400 | InvalidParameter.Format | Parameter format invalid. | Parameter format error |
| 400 | InvalidParameter.Value | Parameter value not supported. | The parameter value is not supported. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.