fileassets/app.js), anddelete part containing the path.kind: html page holding MORE than one file promotes it to kind: site inbecameSite: true. Thekind: html page.display_mode: download, so a page carrying thatpreview_download by the same statement that promotesdisplayModeReset: true. Both flags arecurl --location 'https://upload.tf/api/v1/pages/mysite/files' \
--header 'x-api-key: <api-key>' \
--form 'file=@""' \
--form 'delete=""'{
"success": true,
"data": {
"files": [
{
"path": "assets/app.js",
"sizeBytes": 88134,
"contentType": "text/javascript; charset=utf-8",
"isEntry": false
}
],
"fileCount": 12,
"totalBytes": 1069547,
"maxFiles": 200,
"maxFileBytes": 26214400,
"maxTotalBytes": 5368709120,
"becameSite": false,
"displayModeReset": false
}
}