Queries the details of a video-on-demand (VOD) packaging asset.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:GetVodPackagingAsset |
get |
*All Resource
|
None | None |
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AssetName |
string |
No |
The name of the VOD packaging asset. |
30min_movie |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The query result. |
||
| RequestId |
string |
The request ID. |
0622C702-41BE-467E-AF2E-883D4517962E |
| Asset |
object |
The asset information. |
|
| AssetName |
string |
The name of the VOD packaging asset. |
30min_movie |
| GroupName |
string |
The name of the packaging group. |
vod_hls |
| Input |
object |
The input configurations of the asset. |
|
| Type |
string |
The input type. Only Object Storage Service (OSS) is supported. |
OSS |
| Media |
string |
The URL of the media file. Only M3U8 files stored in OSS are supported. |
OSS://***test-bucket***/***video/input.m3u8 |
| CreateTime |
string |
The time when the asset was created, in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is in UTC. |
2024-11-21T06:45:32Z |
| EgressEndpoints |
array<object> |
The egress endpoints. Each endpoint corresponds to a packaging configuration. |
|
|
object |
The egress endpoint. |
||
| Url |
string |
The playback URL. If the asset fails to be packaged, no playback URL is returned. |
https://y92kpc.**/v1/sy9gtc0w00i0bw2q33q2a4y71oydkofm/cvtcqv3lvrftd68k7f5avfjznvv0tje4/o3cfzi6c3qxo18ascgvnz7974qy3c02o/index.m3u8 |
| Status |
string |
The asset packaging status. Valid values:
|
Playable |
| ConfigurationName |
string |
The name of the packaging configuration. |
hls_3s |
| ContentId |
string |
The content ID in the DRM system, up to 256 characters. Letters, digits, underscores (_), and hyphens (-) are supported. |
movie |
Examples
Success response
JSON format
{
"RequestId": "0622C702-41BE-467E-AF2E-883D4517962E",
"Asset": {
"AssetName": "30min_movie",
"GroupName": "vod_hls",
"Input": {
"Type": "OSS",
"Media": "OSS://***test-bucket***/***video/input.m3u8"
},
"CreateTime": "2024-11-21T06:45:32Z",
"EgressEndpoints": [
{
"Url": "https://y92kpc.**/v1/sy9gtc0w00i0bw2q33q2a4y71oydkofm/cvtcqv3lvrftd68k7f5avfjznvv0tje4/o3cfzi6c3qxo18ascgvnz7974qy3c02o/index.m3u8",
"Status": "Playable",
"ConfigurationName": "hls_3s"
}
],
"ContentId": "movie"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.