Skip to content

download_file

Deliver small files inline and larger files by their presigned URL.

{
"properties": {
"application_id": {
"title": "Application Id",
"type": "string"
},
"file_id": {
"title": "File Id",
"type": "string"
}
},
"required": [
"application_id",
"file_id"
],
"title": "download_fileArguments",
"type": "object"
}
{
"additionalProperties": false,
"properties": {
"contentBase64": {
"type": [
"string",
"null"
]
},
"contentType": {
"type": "string"
},
"delivery": {
"enum": [
"inline",
"presigned_url"
],
"type": "string"
},
"expiresAt": {
"type": [
"string",
"null"
]
},
"expiresIn": {
"type": [
"integer",
"null"
]
},
"id": {
"type": "string"
},
"originalName": {
"type": "string"
},
"presignedUrl": {
"type": [
"string",
"null"
]
},
"size": {
"type": "integer"
}
},
"required": [
"id",
"originalName",
"contentType",
"size",
"delivery",
"contentBase64",
"presignedUrl",
"expiresIn",
"expiresAt"
],
"type": "object"
}