{"success":true,"message":"Selamat datang di Belajar API v2","data":{"name":"Belajar API UNAMA","version":"2.0","base_url":"https:\/\/belajar-api.unama.ac.id\/api\/v2","documentation":"https:\/\/belajar-api.unama.ac.id\/docs\/v2","openapi":"https:\/\/belajar-api.unama.ac.id\/api\/v2\/openapi","demo_account":{"email":"demo@unama.ac.id","password":"password"},"rate_limit":"120 request per menit","groups":[{"id":"auth","title":"Autentikasi","endpoints":[{"method":"POST","path":"\/api\/v2\/auth\/register","title":"Registrasi akun baru","auth":false},{"method":"POST","path":"\/api\/v2\/auth\/login","title":"Login","auth":false},{"method":"GET","path":"\/api\/v2\/auth\/me","title":"Profil user yang login","auth":true},{"method":"PUT","path":"\/api\/v2\/auth\/me","title":"Ubah profil","auth":true},{"method":"POST","path":"\/api\/v2\/auth\/me\/avatar","title":"Upload foto profil","auth":true},{"method":"DELETE","path":"\/api\/v2\/auth\/me\/avatar","title":"Hapus foto profil","auth":true},{"method":"PUT","path":"\/api\/v2\/auth\/password","title":"Ganti password","auth":true},{"method":"POST","path":"\/api\/v2\/auth\/refresh","title":"Perbarui token","auth":true},{"method":"GET","path":"\/api\/v2\/auth\/sessions","title":"Daftar sesi login","auth":true},{"method":"POST","path":"\/api\/v2\/auth\/logout","title":"Logout","auth":true},{"method":"POST","path":"\/api\/v2\/auth\/logout-all","title":"Logout dari semua perangkat","auth":true},{"method":"DELETE","path":"\/api\/v2\/auth\/me","title":"Hapus akun","auth":true}]},{"id":"products","title":"Produk & Kategori","endpoints":[{"method":"GET","path":"\/api\/v2\/categories","title":"Daftar kategori","auth":false},{"method":"GET","path":"\/api\/v2\/categories\/{slug}","title":"Detail kategori","auth":false},{"method":"GET","path":"\/api\/v2\/products","title":"Daftar produk","auth":false},{"method":"GET","path":"\/api\/v2\/products\/brands","title":"Daftar brand","auth":false},{"method":"GET","path":"\/api\/v2\/products\/{id}","title":"Detail produk","auth":false},{"method":"GET","path":"\/api\/v2\/products\/{id}\/reviews","title":"Ulasan produk","auth":false},{"method":"POST","path":"\/api\/v2\/products\/{id}\/reviews","title":"Beri ulasan","auth":true},{"method":"DELETE","path":"\/api\/v2\/products\/{id}\/reviews","title":"Hapus ulasan saya","auth":true}]},{"id":"cart","title":"Keranjang, Pesanan & Favorit","endpoints":[{"method":"GET","path":"\/api\/v2\/cart","title":"Isi keranjang","auth":true},{"method":"POST","path":"\/api\/v2\/cart\/items","title":"Tambah ke keranjang","auth":true},{"method":"PATCH","path":"\/api\/v2\/cart\/items\/{id}","title":"Ubah jumlah item","auth":true},{"method":"DELETE","path":"\/api\/v2\/cart\/items\/{id}","title":"Hapus item","auth":true},{"method":"DELETE","path":"\/api\/v2\/cart","title":"Kosongkan keranjang","auth":true},{"method":"POST","path":"\/api\/v2\/orders","title":"Checkout","auth":true},{"method":"GET","path":"\/api\/v2\/orders","title":"Riwayat pesanan","auth":true},{"method":"GET","path":"\/api\/v2\/orders\/{id}","title":"Detail pesanan","auth":true},{"method":"POST","path":"\/api\/v2\/orders\/{id}\/pay","title":"Bayar pesanan (simulasi)","auth":true},{"method":"POST","path":"\/api\/v2\/orders\/{id}\/cancel","title":"Batalkan pesanan","auth":true},{"method":"GET","path":"\/api\/v2\/favorites","title":"Daftar produk favorit","auth":true},{"method":"POST","path":"\/api\/v2\/favorites\/{productId}","title":"Tambah favorit","auth":true},{"method":"DELETE","path":"\/api\/v2\/favorites\/{productId}","title":"Hapus favorit","auth":true}]},{"id":"todos","title":"Todo List","endpoints":[{"method":"GET","path":"\/api\/v2\/todos","title":"Daftar todo","auth":true},{"method":"GET","path":"\/api\/v2\/todos\/stats","title":"Statistik todo","auth":true},{"method":"POST","path":"\/api\/v2\/todos","title":"Tambah todo","auth":true},{"method":"GET","path":"\/api\/v2\/todos\/{id}","title":"Detail todo","auth":true},{"method":"PUT","path":"\/api\/v2\/todos\/{id}","title":"Ubah todo (PUT)","auth":true},{"method":"PATCH","path":"\/api\/v2\/todos\/{id}","title":"Ubah sebagian (PATCH)","auth":true},{"method":"PATCH","path":"\/api\/v2\/todos\/{id}\/toggle","title":"Centang \/ batal centang","auth":true},{"method":"DELETE","path":"\/api\/v2\/todos\/{id}","title":"Hapus todo","auth":true},{"method":"DELETE","path":"\/api\/v2\/todos\/completed","title":"Hapus semua yang selesai","auth":true}]},{"id":"posts","title":"Blog & Komentar","endpoints":[{"method":"GET","path":"\/api\/v2\/posts","title":"Daftar artikel","auth":false},{"method":"GET","path":"\/api\/v2\/posts\/categories","title":"Kategori artikel","auth":false},{"method":"GET","path":"\/api\/v2\/posts\/tags","title":"Daftar tag","auth":false},{"method":"GET","path":"\/api\/v2\/posts\/{slug}","title":"Detail artikel","auth":false},{"method":"POST","path":"\/api\/v2\/posts\/{slug}\/like","title":"Sukai artikel","auth":false},{"method":"GET","path":"\/api\/v2\/posts\/{slug}\/comments","title":"Komentar artikel","auth":false},{"method":"POST","path":"\/api\/v2\/posts\/{slug}\/comments","title":"Kirim komentar","auth":true},{"method":"DELETE","path":"\/api\/v2\/comments\/{id}","title":"Hapus komentar sendiri","auth":true}]},{"id":"students","title":"Mahasiswa & Prodi","endpoints":[{"method":"GET","path":"\/api\/v2\/students","title":"Daftar mahasiswa","auth":false},{"method":"GET","path":"\/api\/v2\/students\/{nim}","title":"Detail mahasiswa","auth":false},{"method":"GET","path":"\/api\/v2\/study-programs","title":"Daftar program studi","auth":false},{"method":"GET","path":"\/api\/v2\/study-programs\/{code}","title":"Detail program studi","auth":false}]},{"id":"stats","title":"Statistik & Grafik","endpoints":[{"method":"GET","path":"\/api\/v2\/stats\/summary","title":"Ringkasan dashboard","auth":false},{"method":"GET","path":"\/api\/v2\/stats\/sales-monthly","title":"Penjualan bulanan","auth":false},{"method":"GET","path":"\/api\/v2\/stats\/students-by-program","title":"Mahasiswa per prodi","auth":false},{"method":"GET","path":"\/api\/v2\/stats\/students-by-year","title":"Mahasiswa per angkatan","auth":false},{"method":"GET","path":"\/api\/v2\/stats\/students-by-status","title":"Mahasiswa per status","auth":false},{"method":"GET","path":"\/api\/v2\/stats\/products-by-category","title":"Produk per kategori","auth":false},{"method":"GET","path":"\/api\/v2\/stats\/top-products","title":"Produk terlaris","auth":false}]},{"id":"quotes","title":"Quotes","endpoints":[{"method":"GET","path":"\/api\/v2\/quotes","title":"Daftar quotes","auth":false},{"method":"GET","path":"\/api\/v2\/quotes\/random","title":"Quote acak","auth":false}]},{"id":"playground","title":"Playground HTTP","endpoints":[{"method":"POST","path":"\/api\/v2\/playground\/echo","title":"Echo request","auth":false},{"method":"GET","path":"\/api\/v2\/playground\/delay\/{ms}","title":"Respon lambat","auth":false},{"method":"GET","path":"\/api\/v2\/playground\/status\/{code}","title":"Paksa status HTTP","auth":false},{"method":"GET","path":"\/api\/v2\/playground\/random","title":"Gagal secara acak","auth":false},{"method":"GET","path":"\/api\/v2\/playground\/headers","title":"Lihat header request","auth":false},{"method":"GET","path":"\/api\/v2\/playground\/uuid","title":"Generate UUID","auth":false},{"method":"GET","path":"\/api\/v2\/playground\/time","title":"Waktu server (WIB)","auth":false},{"method":"POST","path":"\/api\/v2\/playground\/validate","title":"Latihan validasi form","auth":false},{"method":"POST","path":"\/api\/v2\/playground\/upload","title":"Upload satu file","auth":false},{"method":"POST","path":"\/api\/v2\/playground\/upload-multiple","title":"Upload banyak file","auth":false}]}]}}