Mengkueri statistik AI video dari berbagai tipe, seperti tinjauan otomatis dan media fingerprinting.
Deskripsi operasi
This operation is available only in the China (Shanghai) region.
If the time range to query is less than or equal to seven days, the system returns the statistics collected on an hourly basis. If the time range to query is greater than seven days, the system returns the statistics collected on a daily basis. The maximum time range that you can specify to query is 31 days.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:DescribeVodAIData |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| StartTime |
string |
Yes |
Awal rentang waktu untuk dikueri. Tentukan pengatur waktu dalam standar ISO 8601 dengan format |
2019-02-01T13:00:00Z |
| EndTime |
string |
Yes |
Akhir rentang waktu untuk dikueri. Pengatur waktu akhir harus lebih lambat dari pengatur waktu mulai. Tentukan pengatur waktu dalam standar ISO 8601 dengan format |
2019-02-01T15:00:00Z |
| Region |
string |
No |
Wilayah tempat Anda ingin mengkueri data. Jika Anda mengosongkan parameter ini, data di semua wilayah akan dikembalikan. Pisahkan beberapa wilayah dengan koma (,). Nilai valid:
|
cn-beijing |
| AIType |
string |
No |
Tipe AI video. Jika Anda mengosongkan parameter ini, statistik AI video dari semua tipe akan dikembalikan. Pisahkan beberapa tipe dengan koma (,). Nilai valid:
|
AIVideoCensor |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| DataInterval |
string |
The time granularity at which the data was queried. Valid values:
|
day |
| RequestId |
string |
The ID of the request. |
C370DAF1-C838-4288-****-9A87633D248E |
| AIData |
object |
||
| AIDataItem |
array<object> |
The statistics on video AI. |
|
|
array<object> |
|||
| TimeStamp |
string |
The timestamp of the returned data. The time follows the ISO 8601 standard in the |
2019-02-01T13:00:00Z |
| Data |
object |
||
| DataItem |
array<object> |
The statistics on video AI of each type. |
|
|
object |
|||
| Name |
string |
The type of video AI. Valid values:
|
AIVideoCensor |
| Value |
string |
The processing duration. Unit: seconds. |
111 |
Contoh
Respons sukses
JSONformat
{
"DataInterval": "day",
"RequestId": "C370DAF1-C838-4288-****-9A87633D248E",
"AIData": {
"AIDataItem": [
{
"TimeStamp": "2019-02-01T13:00:00Z",
"Data": {
"DataItem": [
{
"Name": "AIVideoCensor",
"Value": "111"
}
]
}
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | InvalidParameter. | |
| 400 | InvalidParameterStartTime | Invalid Parameter StartTime. | The StartTime parameter is invalid. |
| 400 | InvalidParameterEndTime | Invalid Parameter EndTime. | |
| 400 | InvalidTimeRange | Invalid StartTime and EndTime range. | The time frame is not legal. |
| 400 | InvalidParameterInterval | Invalid Parameter interval. | |
| 400 | InvalidParameterRegion | Invalid Parameter Region. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.