Bir video içerik denetimi görevini getirir.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:GetVideoModerationResult |
get |
*Project
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
Proje adı. |
test-project |
| TaskType |
string |
Yes |
Görev türü. |
VideoModeration |
| TaskId |
string |
Yes |
Görev kimliği. |
VideoModeration-d0f0df1d-531d-4ab4-b353-e7f475****** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Video denetim sonucu. |
||
| RequestId |
string |
İstek kimliği. |
VideoModeration-d0f0df1d-531d-4ab4-b353-e7f475****** |
| ProjectName |
string |
Proje adı. |
test-project |
| EventId |
string |
Olay kimliği. |
05C-1XBQvsG2Tn5kBx2dUWo43****** |
| Status |
string |
Görev durumu. Geçerli değerler:
|
Succeeded |
| Code |
string |
Görev hata kodu. |
ResourceNotFound |
| Message |
string |
Görev hata mesajı. |
The specified resource TaskId is not found. |
| StartTime |
string |
Görevin başladığı zaman. Değer, milisaniye hassasiyetinde ISO 8601 formatında bir UTC zaman damgasıdır. |
2023-04-03T10:20:41.432Z |
| EndTime |
string |
Görevin sona erdiği zaman. Değer, milisaniye hassasiyetinde ISO 8601 formatında bir UTC zaman damgasıdır. |
2023-04-03T10:20:56.87Z |
| UserData |
string |
Özel kullanıcı verileri. |
{ "id": "test-id", "name": "test-name" } |
| TaskType |
string |
Görev türü. |
VideoModeration |
| TaskId |
string |
Görev kimliği. |
VideoModeration-d0f0df1d-531d-4ab4-b353-e7f4750****** |
| ModerationResult |
object |
İçerik denetimi ayrıntıları. |
|
| URI |
string |
Dosya URI'si. OSS dosyasının depolama adresi. Adres, |
oss://test-bucket/test-object |
| Suggestion |
string |
Denetim sonucu önerisi. Geçerli değerler:
|
block |
| Categories |
array |
Kategori listesi. |
|
|
string |
Kategori bilgileri. |
porn |
|
| Frames |
object |
Video ve hareketli görüntü denetimi için kareyle ilgili bilgiler. |
|
| TotalCount |
integer |
İncelenen toplam kare sayısı. |
12 |
| BlockFrames |
array<object> |
İhlal içeren kareler. |
|
|
object |
İhlal içeren bir kare hakkındaki bilgiler. |
||
| Rate |
number |
İhlalin güven skoru. |
10 |
| Offset |
integer |
Karenin ofseti. |
1 |
| Label |
string |
İhlal etiketi. |
{"teat":"val"} |
Examples
Success response
JSON format
{
"RequestId": "VideoModeration-d0f0df1d-531d-4ab4-b353-e7f475******",
"ProjectName": "test-project",
"EventId": "05C-1XBQvsG2Tn5kBx2dUWo43******",
"Status": "Succeeded",
"Code": "ResourceNotFound",
"Message": "The specified resource TaskId is not found.",
"StartTime": "2023-04-03T10:20:41.432Z",
"EndTime": "2023-04-03T10:20:56.87Z",
"UserData": "{\n \"id\": \"test-id\",\n \"name\": \"test-name\"\n}",
"TaskType": "VideoModeration",
"TaskId": "VideoModeration-d0f0df1d-531d-4ab4-b353-e7f4750******",
"ModerationResult": {
"URI": "oss://test-bucket/test-object",
"Suggestion": "block",
"Categories": [
"porn"
],
"Frames": {
"TotalCount": 12,
"BlockFrames": [
{
"Rate": 10,
"Offset": 1,
"Label": "{\"teat\":\"val\"}"
}
]
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.