希望有人可以在这里帮助我
我已经在我的盒子帐户上创建了一个文件夹,我想获取它download_url
,
我正在拨打以下电话:
https://api.box.com/2.0/folders/"folder_id"?fields=sync_state,shared_link
'Authorization': 'Bearer <token_id>'
使用以下参数:
{"shared_link": {"access": "open", "permissions": {"can_preview": true, "can_download": true}}, "marked_for_sync": "synced"}
我回来了:
{"type":"folder","id":"folder_id","etag":"0","sync_state":"not_synced","shared_link":{"url":"https:\/\/app.box.com\/s\/qkzyovqm0dhgt9zaluxl","download_url":null,"vanity_url":null,"is_password_enabled":false,"unshared_at":null,"download_count":0,"preview_count":0,"access":"open","permissions":{"can_download":true,"can_preview":true}}}
为什么没有download_url?
干杯