A beginner's guide
Explore Plans
Mobile menu Close menu
QNAPQNAP

History of files in your folder

This query returns a list of every time when a new file is stored to the selected folder.

About this query

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This query returns a list of every time when a new file is stored to the selected folder.
API endpoint slug
qnap.history_of_files_in_your_folder
Runtime method
performQuery("qnap.history_of_files_in_your_folder")

Query fields

Option shared folder Dropdown list

Label
Folder path
Slug
option_shared_folder
Required
true
Can have default value
false

Folder path Text input > Regular expression

Label
Subfolder path
Helper text
If the subfolders don't exist, they will be automatically created. Example Format: some/folder/path
Slug
folder_path
Required
true
Can have default value
true

File type Dropdown list

Label
File Type
Helper text
Which type of files you would like to watch
Slug
file_type
Required
true
Can have default value
true

Ingredients

Device nameThe name of the device

Slug
device_name
Filter code
Qnap.historyOfFilesInYourFolder.DeviceName
Type
String
Example
MyNAS473

File URLThe public URL of the file

Slug
file_url
Filter code
Qnap.historyOfFilesInYourFolder.FileURL
Type
File URL
Example
https://www.myqnapcloud.com/smartshare/690e98j1o61n822995048w42_6tEis0k/sample1.jpg

File nameThe name of the file

Slug
file_name
Filter code
Qnap.historyOfFilesInYourFolder.FileName
Type
String
Example
myfile.pdf

File name no extThe name of the file without extension

Slug
file_name_no_ext
Filter code
Qnap.historyOfFilesInYourFolder.FileNameNoExt
Type
String
Example
myfile

Modified dateThe date when the file was created/updated/saved

Slug
modified_date
Filter code
Qnap.historyOfFilesInYourFolder.ModifiedDate
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00