Function dropbox_sdk::files::get_temporary_link
source · [−]pub fn get_temporary_link(
client: &impl UserAuthClient,
arg: &GetTemporaryLinkArg
) -> Result<Result<GetTemporaryLinkResult, GetTemporaryLinkError>>
This is supported on crate feature
dbx_files
only.Expand description
Get a temporary link to stream content of a file. This link will expire in four hours and afterwards you will get 410 Gone. This URL should not be used to display content directly in the browser. The Content-Type of the link is determined automatically by the file’s mime type.