Crawls INSA Transfer Server listing its directories and files. This API was made with the purpose of making easier the process of getting files for the Promethee to run on them.
npm install
npm run dev
Route | Description | Request method |
---|---|---|
/api/ |
Application 'home' route | GET |
/api/dataset |
Without parameter will list all datasets, if add 'dataset' parameter will list all files inside of the specified dataset. | GET |
Set FTP_FLAG and fill FTP parameters in env file, by default API will use HTML crawler.