S.EE Docs
API 参考

获取私有文件下载地址

为受密码保护的私有文件生成临时下载链接。

GET
/api/v1/file/private/download-url

Query Parameters

file_id*integer

File ID

Header Parameters

Authorization*string

API key

Response Body

application/json

curl -X GET "https://example.com/api/v1/file/private/download-url?file_id=0" \  -H "Authorization: string"
{  "code": 0,  "message": "string",  "data": {    "file_id": 0,    "url": "string",    "expires_at": 0  },  "success": true}