This API should be used to prepare a file to be downloaded from Dovetail Seeker. This API takes a full file path to which Dovetail Seeker has read access and returns a public download URL to which the user's browser will be redirected.
Input
URL:
/seeker/file/url
HTTP Method(s):
GET
Parameters
Parameter |
Required |
Default |
Description |
Path |
Yes |
N/A |
Full path of the file the application wishes to serve to the user. |
ContentType |
No |
application/octet-stream |
Mime type used to serve the file to the browser. |
Response:
Parameter |
Description |
Url |
URL from which this file can be downloaded. |
FileName |
file name which will be served |
Id |
download file token id |
Examples
Request:
GET /seeker/file/url?Path=\\server\share\path\file.txt
Response:
{
Url: "http://localhost/seekerproxy/file/download?Id=download-token-id",
FileName: "file.txt",
Id: "download-file-token-id"
}
See Also |
Next |