restore_file
Restore a soft-deleted file within its retention window.
Input schema
Section titled “Input schema”{ "properties": { "application_id": { "title": "Application Id", "type": "string" }, "file_id": { "title": "File Id", "type": "string" } }, "required": [ "application_id", "file_id" ], "title": "restore_fileArguments", "type": "object"}Output schema
Section titled “Output schema”{ "properties": { "contentType": { "title": "Contenttype", "type": "string" }, "createdAt": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Createdat" }, "expiresAt": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Expiresat" }, "expiresIn": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Expiresin" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "lifecycleState": { "enum": [ "servable", "scan_pending", "quarantined", "infected", "soft_deleted", "retention_expired" ], "title": "FileLifecycleState", "type": "string" }, "metadata": { "additionalProperties": true, "title": "Metadata", "type": "object" }, "originalName": { "title": "Originalname", "type": "string" }, "presignedUrl": { "title": "Presignedurl", "type": "string" }, "retentionExpiresAt": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Retentionexpiresat" }, "size": { "title": "Size", "type": "integer" }, "status": { "title": "Status", "type": "string" } }, "required": [ "id", "originalName", "contentType", "size", "status", "lifecycleState", "metadata", "presignedUrl" ], "title": "FileDetailResponse", "type": "object"}