全部产品
云市场

ListVideos

更新时间:2019-01-29 10:41:19

描述

获取多个视频的信息。

请求参数

Parameter Type Required Comment
Project string Project
Action String ListVideos
SetId string SetId
CreateTimeStart string 创建时间 CreateTime 的起始点,返回的视频均在此时间后加入 Set
Marker string Marker 翻页标记

返回参数

名称 类型 描述
RequestId String 用户发送的每次接口调用请求,无论成功与否,系统都会返回一个唯一识别码 RequestId 给用户
VideoUri String 视频 Uri
NextMarker String 下一个 Marker 翻页标记
Videos []Video 视频信息数组
SetId String 媒体集 Set 的唯一标识。

示例

请求示例

  1. POST https://imm.cn-shanghai.aliyuncs.com
  2. ?Action= ListVideos
  3. &Project=test
  4. &SetId=test-set

此处的示例,目的是展示关键参数,还需要其他的公共参数才能正常调用,推荐使用 SDK 来发送

成功返回示例

  1. {
  2. "SetId": "Set-fc2ff7fb-b3b6-43a3-941d-5adae620d2ae",
  3. "NextMarker": "",
  4. "RequestId": "B9B7191C-314C-4073-AAC6-FDD48DA15412",
  5. "Videos": [
  6. {
  7. "ProcessStatus": "Processing",
  8. "ProcessFailReason": "",
  9. "CelebrityFailReason": "",
  10. "VideoTagsFailReason": "",
  11. "VideoDuration": 199.6916,
  12. "SourceType": "video",
  13. "CelebrityStatus": "Success",
  14. "VideoUri": "oss://xxx/test/1.mp4",
  15. "Celebrity": [
  16. {
  17. "CelebrityLibraryName": "Stars",
  18. "CelebrityNum": 5,
  19. "CelebrityName": "\u5b8b\u5e86\u9f84"
  20. },
  21. {
  22. "CelebrityLibraryName": "Stars",
  23. "CelebrityNum": 1,
  24. "CelebrityName": "\u5185\u7530\u771f\u793c"
  25. }
  26. ],
  27. "VideoTags": [
  28. {
  29. "VideoTagEnName": "Dance",
  30. "VideoTagName": "\u8df3\u821e",
  31. "VideoTagConfidence": 0.277216
  32. },
  33. {
  34. "VideoTagEnName": "Animal",
  35. "VideoTagName": "\u52a8\u7269",
  36. "VideoTagConfidence": 0.0605779
  37. }
  38. ],
  39. "VideoTagsModifyTime": "2018-12-24T09:17:31.164Z",
  40. "RemarksB": "",
  41. "VideoWidth": 402,
  42. "SourcePosition": "",
  43. "CelebrityModifyTime": "2018-12-24T09:17:25.582Z",
  44. "RemarksA": "",
  45. "RemarksC": "",
  46. "RemarksD": "",
  47. "ExternalId": "",
  48. "FileSize": 18734738,
  49. "ModifyTime": "2018-12-24T09:17:02.809Z",
  50. "SourceUri": "",
  51. "VideoTagsStatus": "Success",
  52. "VideoHeight": 720,
  53. "CreateTime": "2018-12-24T09:17:02.809Z",
  54. "ProcessModifyTime": "2018-12-24T09:17:02.809Z",
  55. "VideoFormat": ""
  56. },
  57. {
  58. "ProcessStatus": "Success",
  59. "ProcessFailReason": "",
  60. "CelebrityFailReason": "",
  61. "VideoTagsFailReason": "",
  62. "VideoDuration": 611.133333,
  63. "SourceType": "video",
  64. "CelebrityStatus": "Success",
  65. "VideoUri": "oss://xxx/test/2.mp4",
  66. "Celebrity": [
  67. {
  68. "CelebrityLibraryName": "Stars",
  69. "CelebrityNum": 1,
  70. "CelebrityName": "\u97e6\u5b81\u8d24"
  71. }
  72. {
  73. "CelebrityLibraryName": "Stars",
  74. "CelebrityNum": 1,
  75. "CelebrityName": "\u535a\u53e4"
  76. }
  77. ],
  78. "VideoTags": [
  79. {
  80. "VideoTagEnName": "Food",
  81. "VideoTagName": "\u98df\u7269",
  82. "VideoTagConfidence": 0.251939
  83. },
  84. {
  85. "VideoTagEnName": "Painting",
  86. "VideoTagName": "\u7ed8\u753b",
  87. "VideoTagConfidence": 0.0113121
  88. }
  89. ],
  90. "VideoTagsModifyTime": "2018-12-24T09:24:47.142Z",
  91. "RemarksB": "",
  92. "VideoWidth": 1280,
  93. "SourcePosition": "",
  94. "CelebrityModifyTime": "2018-12-24T09:23:49.289Z",
  95. "RemarksA": "",
  96. "RemarksC": "",
  97. "RemarksD": "",
  98. "ExternalId": "",
  99. "FileSize": 95631732,
  100. "ModifyTime": "2018-12-24T09:23:03.418Z",
  101. "SourceUri": "",
  102. "VideoTagsStatus": "Success",
  103. "VideoHeight": 720,
  104. "CreateTime": "2018-12-24T09:23:03.418Z",
  105. "ProcessModifyTime": "2018-12-24T09:24:32.107Z",
  106. "VideoFormat": ""
  107. }