Queries the video processing configuration of a site.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:GetVideoProcessing |
get |
*Site
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
The website ID, which can be obtained by calling the ListSites operation. |
23282348*** |
| ConfigId |
integer |
Yes |
The configuration ID, which can be obtained by calling the ListVideoProcessings operation. |
23321557*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
CB1A380B-09F0-41BB-A198-72F8FD6DA2FE |
| ConfigId |
integer |
The configuration ID. |
35281609698**** |
| ConfigType |
string |
The configuration type. Valid values:
|
global |
| SiteVersion |
integer |
The version number of the site configurations. |
1 |
| Sequence |
integer |
The execution order of the rule. A smaller value indicates a higher priority. |
1 |
| RuleEnable |
string |
Indicates whether the rule is enabled. Valid values:
|
on |
| Rule |
string |
The rule content. |
(http.host eq \"video.example.com\") |
| RuleName |
string |
The rule name. |
rule_example |
| VideoSeekEnable |
string |
Indicates whether video seeking is enabled. Valid values:
|
on |
| FlvVideoSeekMode |
string |
The FLV seeking mode. Valid values:
|
by_byte |
| Mp4SeekStart |
string |
The custom start parameter for MP4 files. |
start |
| Mp4SeekEnd |
string |
The custom end parameter for MP4 files. |
end |
| FlvSeekStart |
string |
The custom start parameter for FLV files. |
start |
| FlvSeekEnd |
string |
The custom end parameter for FLV files. |
end |
Examples
Success response
JSON format
{
"RequestId": "CB1A380B-09F0-41BB-A198-72F8FD6DA2FE\n",
"ConfigId": 0,
"ConfigType": "global",
"SiteVersion": 1,
"Sequence": 1,
"RuleEnable": "on",
"Rule": "(http.host eq \\\"video.example.com\\\")\n",
"RuleName": "rule_example",
"VideoSeekEnable": "on",
"FlvVideoSeekMode": "by_byte",
"Mp4SeekStart": "start",
"Mp4SeekEnd": "end",
"FlvSeekStart": "start",
"FlvSeekEnd": "end"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.