Manager¶
flowtask.services.files.manager
¶
FileManager.
Works with files, download, upload and delete files over FS using an API.
TODO: Send a data-preview (first 10 rows) of uploaded file TODO: html-template for Uploader preview with "back" button.
FileManager
¶
Bases: BaseView
API View for managing Files.
delete
async
¶
DELETe Method. description: Deletes a File (if exists) on Directory tags: - files - File Manager - filesystem - file consumes: - application/json produces: - application/json
get
async
¶
GET Method.¶
description: Managing Files. tags: - File Manager consumes: - application/json produces: - application/json
head
async
¶
HEAD Method. description: Sent response about file exists or not. tags: - files - File Manager - filesystem - file consumes: - application/json produces: - application/json
post
async
¶
POST Method. description: upload a file onto repository directory. tags: - files - File Manager - filesystem - file consumes: - application/json produces: - application/json
put
async
¶
PUT Method. description: Create a new directory. tags: - files - File Manager - filesystem - file consumes: - application/json produces: - application/json