Endpoint
Manajemen File API
Ambil daftar file dan statistik platform
Endpoint Tersedia
GET
/api/files/recentDapatkan file yang baru diupload
GET
/api/statsStatistik penggunaan platform
GET
/api/show-folderList file dengan pagination
Parameter:
limitnumberJumlah file (default: 24)Contoh Kode
File Terbaru
curl "https://upload.ylizidev.tech/api/files/recent"Statistik Platform
curl "https://upload.ylizidev.tech/api/stats"Listing Folder
curl "https://upload.ylizidev.tech/api/show-folder?limit=10"Format Response
GET /api/files/recent
[
{
"id": "abc123",
"name": "photo.jpg",
"size": 123456,
"contentType": "image/jpeg",
"uploadedAt": 1721234567890,
"download_link": "https://upload.ylizidev.tech/d/abc123",
"share_link": "https://upload.ylizidev.tech/download/d/abc123",
"previewable": true,
"isCode": false
}
]GET /api/stats
{
"total_files": 150,
"total_storage_bytes": 104857600,
"total_code_snippets": 25,
"total_downloads": 1200,
"active_users": 89
}