QCloudSMHGetDownloadInfoRequest Class Reference

Inherits from QCloudSMHBizRequest : QCloudSMHBaseRequest : QCloudHTTPRequest
Declared in QCloudSMHGetDownloadInfoRequest.h
QCloudSMHGetDownloadInfoRequest.m

Overview

用于获取文件下载链接和信息

要求权限: 非 acl 鉴权:无 acl 鉴权:canDownload(当前文件夹可下载)

  filePath

完整文件路径,例如 /api/v1/file/smhxxx/-/foo/bar/file.docx

@property (nonatomic, strong) NSString *filePath

Declared In

QCloudSMHGetDownloadInfoRequest.h

  historyId

历史版本

@property (nonatomic, assign) NSInteger historyId

Declared In

QCloudSMHGetDownloadInfoRequest.h

  purpose

只要调用这个接口获取的返回值, 用来做下载就传 download, 用来预览就传 preview, 用来缩略图就传 list

@property (nonatomic, assign) QCloudSMHPurposeType purpose

Declared In

QCloudSMHGetDownloadInfoRequest.h