POST /report/badcase HTTP/1.1Host: <BucketName-APPID>.ci.<Region>.myqcloud.comDate: <GMT Date>Authorization: <Auth String>Content-Length: <length>Content-Type: application/xml<body>
<Request><ContentType></ContentType><JobId></JobId><ModerationTime></ModerationTime><Url></Url><SuggestedLabel></SuggestedLabel><Label></Label></Request>
Node Name (Keyword) | Parent Node | Description | Type | Required |
Request | None | Specific parameters for reporting incorrect moderation results | Container | Yes |
Request
has the following sub-nodes:Node Name (Keyword) | Parent Node | Description | Type | Required |
ContentType | Request | Type of the data to be reported. The value for incorrect image sample is 2. | Integer | Yes |
Url | Request | Image sample. You need to enter the URL of the image, which is required if ContentType is 2. | String | No |
Label | Request | Tag of the moderation result returned by CI, such as Porn . | String | Yes |
SuggestedLabel | Request | Tag of the correct moderation result you expect, such as Normal . | String | Yes |
JobId | Request | Moderation job ID corresponding to the data sample, which is helpful for locating moderation records. | String | No |
ModerationTime | Request | The time when the data sample was moderated, which is helpful for locating moderation records. The value format is 2021-08-07T12:12:12+08:00 . | String | No |
<Response><RequestId></RequestId></Response>
Node Name (Keyword) | Parent Node | Description | Type |
Response | None | Specific response content. | Container |
Response
has the following sub-nodes:Node Name (Keyword) | Parent Node | Description | Type |
RequestId | Response | The ID automatically generated by the server for a request when the request is sent, which can help locate problems faster. | String |
POST /report/badcase HTTP/1.1Authorization: q-sign-algorithm=sha1&q-ak=AKIDZfbOAo7cllgPvF9cXFrJD0a1********&q-sign-time=1497530202;1497610202&q-key-time=1497530202;1497610202&q-header-list=&q-url-param-list=&q-signature=28e9a4986df11bed0255e97ff9050055********Host: examplebucket-1250000000.ci.ap-beijing.myqcloud.comContent-Length: 66Content-Type: application/xml<Request><ContentType>1</ContentType><Url>http://www.example.com/abc.jpg</Url><Label>Porn</Label><SuggestedLabel>Normal</SuggestedLabel></Request>
HTTP/1.1 200 OKContent-Type: application/xmlContent-Length: 230Connection: keep-aliveDate: Thu, 15 May 2022 12:37:29 GMTServer: tencent-cix-ci-request-id: NTk0MjdmODlfMjQ4OGY3XzYzYzhf****<Response><RequestId>xxxxxxxxxxxxxx</RequestId></Response>
Was this page helpful?