Obtient la liste des vidéos de diffusion en direct vers VOD.
Description de l'opération
Jusqu'à 5 000 enregistrements correspondant aux conditions de filtrage spécifiées peuvent être récupérés.
Testez maintenant
Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale. Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale.
Test
Autorisation RAM
|
vod:ListLiveRecordVideo |
get |
*All Resource
|
Aucune | Aucune |
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| StreamName |
string |
Non |
Le nom du flux en direct utilisé lors de l'enregistrement. |
live-test |
| DomainName |
string |
Non |
Le nom de domaine utilisé lors de l'enregistrement. |
example.com |
| AppName |
string |
Non |
Le nom de l'application utilisée lors de l'enregistrement. |
testApp |
| PageNo |
integer |
Non |
Le numéro de page. Valeur par défaut : 1. |
1 |
| PageSize |
integer |
Non |
Le nombre d'entrées par page. Valeur maximale : 100. Valeur par défaut : 10. |
10 |
| SortBy |
string |
Non |
La méthode de tri des résultats. Valeurs valides :
|
CreationTime:Desc |
| StartTime |
string |
Non |
L'heure de début de l'opération d'enregistrement (moment où l'enregistrement du flux en direct commence). Format : yyyy-MM-ddTHH:mm:ssZ (UTC). |
2017-01-11T12:00:00Z |
| EndTime |
string |
Non |
L'heure de fin de l'opération d'enregistrement (moment où l'enregistrement du flux en direct se termine). L'heure de fin doit être postérieure à l'heure de début. Format : yyyy-MM-ddTHH:mm:ssZ (UTC). |
2017-01-11T13:00:00Z |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
|||
| Total |
integer |
Le nombre total de vidéos. |
123 |
| RequestId |
string |
L'identifiant de la requête. |
25818875-5F78-4A13-****-D7393642CA58 |
| LiveRecordVideoList |
object |
||
| LiveRecordVideo |
array<object> |
La liste des vidéos. |
|
|
array<object> |
|||
| AppName |
string |
The application name. |
testApp |
| PlaylistId |
string |
The playlist ID. |
**** |
| StreamName |
string |
The live stream name. |
live-test |
| RecordEndTime |
string |
The recording end time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC). |
2017-12-08T08:44:56Z |
| RecordStartTime |
string |
The recording start time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC). |
2017-12-08T07:40:56Z |
| DomainName |
string |
The domain name. |
example.com |
| Video |
object |
The video information. |
|
| CreationTime |
string |
The video creation time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC). |
2017-12-08T07:40:56Z |
| Status |
string |
The video status. Valid values:
|
Normal |
| CateId |
integer |
The video category ID. |
78 |
| VideoId |
string |
The video ID. |
93ab850b4f6f*****54b6e91d24d81d4 |
| Tags |
string |
The video tags. Multiple tags are separated by commas (,). |
Tag 1, Tag 2 |
| CateName |
string |
The video category name. |
Category name |
| Description |
string |
The video description. |
Alibaba Cloud VOD video description |
| Size |
integer |
The size of the video source file. Unit: bytes. |
10897890 |
| CoverURL |
string |
The video thumbnail URL. |
https://image.example.com/coversample.jpg |
| TemplateGroupId |
string |
The ID of the transcoding template group used for video transcoding. |
1 |
| Duration |
number |
The video duration. Unit: seconds. |
135.6 |
| Title |
string |
The video title. |
Alibaba Cloud VOD video title |
| ModifyTime |
string |
The video update time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC). |
2017-12-08T09:40:56Z |
| Snapshots |
object |
||
| Snapshot |
array |
The array of video snapshot URLs. |
|
|
string |
The array of video snapshot URLs. |
{"Snapshot":["http://image.example.com/snapshot/sample000001.jpg?auth_key=1498476426-0-0-f00b9455c49a423ce69cf4e273334f52","http://image.example.com/snapshot/sample00002.jpg?auth_key=1498476426-0-0-f00b9455c49a423ce69cf4e272434f52"]} |
Exemples
JSON format
{
"Total": 123,
"RequestId": "25818875-5F78-4A13-****-D7393642CA58",
"LiveRecordVideoList": {
"LiveRecordVideo": [
{
"AppName": "testApp",
"PlaylistId": "****",
"StreamName": "live-test",
"RecordEndTime": "2017-12-08T08:44:56Z",
"RecordStartTime": "2017-12-08T07:40:56Z",
"DomainName": "example.com",
"Video": {
"CreationTime": "2017-12-08T07:40:56Z",
"Status": "Normal",
"CateId": 78,
"VideoId": "93ab850b4f6f*****54b6e91d24d81d4",
"Tags": "Tag 1, Tag 2",
"CateName": "Category name",
"Description": "Alibaba Cloud VOD video description",
"Size": 10897890,
"CoverURL": "https://image.example.com/coversample.jpg",
"TemplateGroupId": "1",
"Duration": 135.6,
"Title": "Alibaba Cloud VOD video title",
"ModifyTime": "2017-12-08T09:40:56Z",
"Snapshots": {
"Snapshot": [
"{\"Snapshot\":[\"http://image.example.com/snapshot/sample000001.jpg?auth_key=1498476426-0-0-f00b9455c49a423ce69cf4e273334f52\",\"http://image.example.com/snapshot/sample00002.jpg?auth_key=1498476426-0-0-f00b9455c49a423ce69cf4e272434f52\"]}"
]
}
}
}
]
}
}
Codes d'erreur
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.