Keamanan
Batas & Kuota API
Cek penggunaan dan batas rate limiting
Ringkasan Batas
20 / hari
Upload Harian
Upload file + konten private per IP (termasuk upload kode)
100 / jam
Request API
Request API umum per IP
10 MB
Ukuran File
Maksimal ukuran per file (Redis)
Endpoint Tersedia
GET
/api/check-limitCek batas penggunaan harian
GET
/api/usageDapatkan statistik penggunaan API (request per hari, unique IPs, dll)
GET
/api/healthCek kesehatan API dan status endpoint
GET
/api/statsStatistik platform (total file, storage, dll)
Cek Penggunaan
curl
curl "https://upload.ylizidev.tech/api/check-limit"Header Response
X-RateLimit-LimitTotal request yang diizinkanX-RateLimit-RemainingSisa request yang tersediaX-RateLimit-ResetWaktu reset limit (timestamp)Penanganan Error
Response Sukses
{
"used": 3,
"remaining": 17,
"limit": 20,
"reset": 1721234567
}Response Rate Limited
{
"message": "Rate limit exceeded",
"used": 20,
"remaining": 0,
"limit": 20
}