Skip to Content
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

OK

application/json
  1. response
code?integer

Response status code (200 indicates success)

data?

Response data

message?string

Human-readable status message

success?boolean

Success flag

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