Request:
{
"email": EMAIL,
"password": PASSWORD
}
Response:
{
"error": false,
"message": null,
"data": {
"user": {
"name": "Test User 123",
"email": "test123@gmail.com",
"avatar": "http://localhost:8000/assets/avatar/5.png"
},
"token": "10|laravel_sanctum_jYnuff4ds5sSU3ED3rh0cYNjcz3WiwKX5mdgKZLqce9b1897"
}
}
Request:
{
"name": NAME,
"email": EMAIL,
"password": PASSWORD
}
Response:
{
"error": false,
"message": "Registrasi berhasil",
"data": null
}
Request:
Response:
{
"error": false,
"message": null,
"data": {
"name": "Test User 123",
"email": "test123@gmail.com",
"avatar": "http://localhost:8000/assets/avatar/5.png",
"ranking": 1,
"point": 300,
"task_complete": 3
}
}
Request:
{
"value": 100,
}
Response:
{
"error": false,
"message": "Point berhasil ditambahkan",
"data": null
}
Request:
Response:
{
"error": false,
"message": null,
"data": [
{
"rangking": 1,
"user_id": 4,
"name": "Test User 123",
"point": "500"
}
]
}
Request:
Response:
{
"error": false,
"message": null,
"data": [
{
"id": 3,
"title": "Test 1",
"icon": "http://localhost:8000/storage/images/mQlZXxJlo4OmptQj9VBv1dMyIKuZZmqoU1MSUkxA.png",
"contents": [
{
"id": 2,
"name": "Test 2",
"description": "Lorem ipsum dolor",
"example_url": "http://localhost:8000/storage/images/NT8tbDMadBYFweMHye6CMGq0oFnSTfs4A6Yz6Wf3.png",
"tajweed_letter_url": "http://localhost:8000/storage/images/ypUPDv99eN114mEK7gRGSDlChdGhhRIrYiesYhLe.png",
"audio_url": "http://localhost:8000/storage/audios/T9YZCOOHxRfmlgFqvAGW20eiB71HvwR9xIRbI6bW.mp3"
}
]
}
]
}
Request:
Response:
{
"error": false,
"message": null,
"data": {
"id": 2,
"name": "Test 2",
"description": "Lorem ipsum dolor",
"example_url": "http://localhost:8000/storage/images/NT8tbDMadBYFweMHye6CMGq0oFnSTfs4A6Yz6Wf3.png",
"tajweed_letter_url": "http://localhost:8000/storage/images/ypUPDv99eN114mEK7gRGSDlChdGhhRIrYiesYhLe.png",
"audio_url": "http://localhost:8000/storage/audios/T9YZCOOHxRfmlgFqvAGW20eiB71HvwR9xIRbI6bW.mp3"
}
}
Request:
Response:
{
"error": false,
"message": null,
"data": [
{
"id": 1,
"image": "http://localhost:8000/storage/images/971Yz11FMDl3blDooQi3F6kAHJdcukgsztMGCqMj.png"
}
]
}
Request:
Response:
{
"error": false,
"message": null,
"data": [
{
"id": 1,
"short_name": "الفاتحة",
"name": "Al-Fatihah",
"revelation": "Makkiyyah",
"ayat": 7,
"translation": "Pembukaan"
},
]
}
Request:
Response:
{
"error": false,
"message": null,
"data": {
"id": 1,
"ayat": 7,
"short_name": "الفاتحة",
"name": "Al-Fatihah",
"revelation": "Makkiyyah",
"verses": [
{
"number": 1,
"text_arab": "بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ",
"translation": "Dengan nama Allah Yang Maha Pengasih, Maha Penyayang.",
"audio": "https://cdn.islamic.network/quran/audio/128/ar.alafasy/1.mp3"
}
]
}
}
Request:
Response:
{
"error": false,
"message": null,
"data": {
"name": "HR. Abu Daud",
"id": "abu-daud",
"available": 4419,
"requested": 20,
"hadiths": [
{
"number": 1,
"arab": "حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ بْنِ قَعْنَبٍ الْقَعْنَبِيُّ حَدَّثَنَا عَبْدُ الْعَزِيزِ يَعْنِي ابْنَ مُحَمَّدٍ عَنْ مُحَمَّدٍ يَعْنِي ابْنَ عَمْرٍو عَنْ أَبِي سَلَمَةَ عَنْ الْمُغِيرَةِ بْنِ شُعْبَةَأَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ إِذَا ذَهَبَ الْمَذْهَبَ أَبْعَدَ",
"id": "Telah menceritakan kepada kami [Abdullah bin Maslamah bin Qa'nab al Qa'nabi] telah menceritakan kepada kami [Abdul Aziz yakni bin Muhammad] dari [Muhammad yakni bin Amru] dari [Abu Salamah] dari [Al Mughirah bin Syu'bah] bahwasanya Nabi shallallahu 'alaihi wasallam apabila hendak pergi untuk buang hajat, maka beliau menjauh."
}
]
}
}
Request:
Response:
{
"error": false,
"message": null,
"data": {
"national_date": "Jumat, 15 September 2023",
"hijriah_date": "14 Ṣafar 1436H",
"times": {
"Fajr": "04:17",
"Sunrise": "05:32",
"Dhuhr": "11:34",
"Asr": "14:48",
"Sunset": "17:36",
"Maghrib": "17:36",
"Isha": "19:06",
"Imsak": "04:07",
"Midnight": "23:34",
"Firstthird": "21:34",
"Lastthird": "01:33"
}
}
}
Request:
Response:
{
"error": false,
"message": null,
"data": [
{
"id": 1,
"title": "Takbiratul Ikram",
"image_url": "http://localhost:8000/storage/images/nxUxD2ifyBfv3XRtqB0O0hazhXQ8m4OyaJ1tO0Y9.png",
"description": "Lorem ipsum dolor",
"movement_angle": {
"left_wrist": 45,
"left_elbow": 0,
"left_shoulder": 45,
"left_hip": 0,
"left_knee": 45,
"left_ankle": 0,
"right_wrist": 0,
"right_elbow": 0,
"right_shoulder": 0,
"right_hip": 0,
"right_knee": 0,
"right_ankle": 0
}
}
]
}
Request:
Response:
{
"error": false,
"message": null,
"data": [
{
"id": 4,
"title": "TEST 1",
"info": "Youtube",
"video_url": "http://localhost:8000/storage/videos/ExtcLN5CSaMsqxu335Gr5wKhYQJ6FPxH9mvWj7bD.mp4"
}
]
}