Method: Baidu::PCS::Client#stream_list
- Defined in:
- lib/baidu/pcs/client.rb
#stream_list(type, options = {}) ⇒ Hash
获取流式文件列表
以视频、音频、图片及文档四种类型的视图获取所创建应用程序下的文件列表。
693 694 695 696 |
# File 'lib/baidu/pcs/client.rb', line 693 def stream_list(type, ={}) query = { type: type }.update get "#{BASE_PATH}/stream", query.update(base_query 'list') end |