POST
Upload a file
/files/upload
Request
curl -X POST https://games22.fun/api/v1/files/upload \ -H "Authorization: Bearer $BOSX_KEY" \ -F "file=@report.pdf"
Response
{
"success": true,
"file_id": 1042,
"public_link": "https://games22.fun/download/a1b2c3d4",
"size": 2481920,
"filename": "report.pdf"
}