Dropbox API-获取我的媒体的永久链接? [英] Dropbox API - Get permanent link for my media?

查看:112
本文介绍了Dropbox API-获取我的媒体的永久链接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 createTemporaryDirectLink方法来获取用于流式传输我的视频的链接。它的工作原理就像一种魅力……但是每次我需要在这些链接过期时更新它们。

I use "createTemporaryDirectLink" method to get links for streaming my video. it works like a charm... but every time I need to update these links as they expire.

我想知道是否有可能获得然后保留永久链接

I wonder whether there is a possibility to get and then keep permanent links for streaming media?

谢谢

推荐答案

通过 createShareableLink 获取共享链接,然后通过剥离该链接将其转换为直接链接其他查询参数并添加 raw = 1 。 (有关如何操作的详细信息,请参见 https://www.dropbox.com/help/201 共享链接。)

You might want to instead get a share link via createShareableLink and then convert it to a direct link by stripping the other query parameters and adding raw=1. (See https://www.dropbox.com/help/201 for details on how to manipulate share links.)

这篇关于Dropbox API-获取我的媒体的永久链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆