API 參考
取得私人檔案下載網址
為受密碼保護的私人檔案產生暫時下載連結。
GET
file_id*integerFile ID
OK
application/json- response
code?integerResponse status code (200 indicates success)
data?Response data
message?stringHuman-readable status message
success?booleanSuccess flag
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}