sNode Space API
Get API KEY
FILESUPLOAD
Upload new file to storage (50mb max)
hidden parameter is optional, if hidden=0 - file visible in bot and manager (default hidden=1)
curl \
    -X POST \
    -F "[email protected]/some/file/on/your/local/disk" \
    -F "access_token=API_KEY" \
    -F "hidden=1" \
    https://api.snode.space/files/v1/upload.py
FILESLIST
List your uploaded files
curl \
    -X POST \
    -F "limit=15" \
    -F "access_token=API_KEY" \
    https://api.snode.space/files/v1/list.py
FILESSTATS
Get file's views and downloads
curl \
    -X POST \
    -F "file_id=FILE_ID" \
    -F "access_token=API_KEY" \
    https://api.snode.space/files/v1/stats.py
FILESDELETE
Delete uploaded file
curl \
    -X POST \
    -F "file_id=FILE_ID" \
    -F "access_token=API_KEY" \
    https://api.snode.space/files/v1/delete.py