File Management
Get download link for a file
Query Parameters
id*string
Base64url encoded path to the file to get download link for
urlExpiry?string
URL expiry time (e.g. '10m', '1h')
Response Body
application/json
application/json
curl -X GET "https://your.server.net/otto/api/files/get-download-link?id=string"{
"response": {
"downloadUrl": "string"
},
"messages": [
{
"code": 0.1,
"text": "ok"
}
]
}{
"response": {},
"messages": [
{
"code": 18011,
"text": "OttoFMS sample error"
}
]
}