目录

下载文件

请求

HTTP请求

GET
https://drive.cloud.hicloud.com/drive/v1/files/{fileId}?form=content

参数

*仅对必填项做特别说明。

参数名数据类型
描述
fileIdstringpath必填,文件ID。
formstringquery必填,下载方式。
quotaIdstringquery用户标识,小于40个字符。用于限制单个用户的API访问数量。
x-hw-trace-idstringheader业务跟踪id。
x-hw-app-idstringheader应用的appid。
versionstringheadersdk版本。
x-hw-terminalstringheader终端型号。
x-hw-osstringheader终端操作系统类型。
unionIDstringheader开放的用户id。
User-Agentstringheader应用版本号/appid。

请求体

请求体为空。

参数名参数类型描述

响应

如果成功,此方法将返回具有以下结构的响应正文:

参数名参数类型描述
MediaContentstring文件内容。