@ -165,7 +165,7 @@ hadis_category_tree_swagger = swagger_auto_schema(
# Swagger documentation for HadisSyncView
hadis_sync_swagger = swagger_auto_schema (
operation_description = " Get all Hadis data for offline sync. Returns a dictionary keyed by Hadis ID . " ,
operation_description = " Get all Hadis data for offline sync. Returns a paginated-style payload with `count` and `results` . " ,
operation_summary = " Sync Hadis Data " ,
operation_id = " syncHadisData " ,
tags = [ ' Dobodbi - Hadis ' ] ,
@ -184,96 +184,228 @@ hadis_sync_swagger = swagger_auto_schema(
examples = {
" application/json " : {
" count " : 1 ,
" results " : [
" results " : [
{
" id " : 1001 ,
" number " : 45 ,
" slug " : " достоинство-молитвы-и-ее-место-в-религии " ,
" category_id " : 205 ,
" title " : " The Reward of Intentions " ,
" title_narrator " : " Imam Sadiq (as) " ,
" text " : " إنما الأعمال بالنیات... " ,
" translation " : " hadis translation " ,
" detail " :
{ " address " : ' null ' ,
" id " : 1891 ,
" number " : 1 ,
" slug " : " hadis-ru-1-7c2df773 " ,
" category_id " : 1036 ,
" title " : " The Merit of Seeking Knowledge " ,
" title_narrator " : " Jabir bin Abdullah " ,
" text " : " اتَّقِ اللَّهَ حَيْثُمَا كُنْتَ، وَأَتْبِعِ السَّيِّئَةَ الْحَسَنَةَ تَمْحُهَا. " ,
" translation " : " The best among you are those who have the best manners and character. " ,
" detail " : {
" address " : [
" Sahih al-Bukhari " ,
" Book of Revelation " ,
" Chapter 1: How Revelation Began "
] ,
" address_details " : [ ] ,
" hadis_status " : {
" id " : 130 ,
" title " : " Прерванный " ,
" color " : " orange "
} ,
" status_text " : ' null ' ,
" share_link " : " https://imamjavad.nwhco.ir/hadis/None " ,
" links " : [
{
" link " : " https://example.com/source1 " ,
" title " : " Source 1 "
" id " : 133 ,
" title " : " Authentic / Accepted " ,
" color " : " green " ,
" main_color_code " : " #1DAC43 "
} ,
" status_text " : " Authentic / Accepted " ,
" share_link " : " https://dovodi.newhorizonco.uk/arguments/hadith/hadis-ru-1-7c2df773 " ,
" links " : {
" Dorar " : " https://dorar.net/hadith/1804 " ,
" Al-Islam " : " https://www.al-islam.org/6596 " ,
" IslamWeb " : " https://www.islamweb.net/ar/fatwa/6463 " ,
" Sunnah.com " : " https://sunnah.com/bukhari/3147 " ,
" IslamicFinder " : " https://www.islamicfinder.org/1779 "
} ,
" tags " : [
{
" link " : " https://example.com/source2 " ,
" title " : " Source 2 "
" id " : 516 ,
" title " : " Доверие "
}
] ,
" tag s" : [
" reference s" : [
{
" id " : 520 ,
" title " : " Постановления "
} ,
" id " : 2538 ,
" title " : None ,
" authors " : [
{
" id " : 514 ,
" titl e" : " Терпение "
} ,
" id " : 9 ,
" nam e" : " Sheykh Mofid "
}
] ,
" references " : [
{
" id " : 2193 ,
" title " : ' null ' ,
" authors " : [ ] ,
" description " : ' null '
" description " : " For him who is not in the presence of a jurisprudent - Shia collection. " ,
" share_link " : " https://dovodi.newhorizonco.uk/arguments/sources/man-la-yahduruhu-al-faqih "
}
] ,
" reference_images " : [
{
" id " : 1768 ,
" thumbnail " : " http://127.0.0.1:8000/media/hadis/reference_images/ref_2 193 .png " ,
" priority " : 0
" id " : 254 1,
" thumbnail " : " http://127.0.0.1:8000/media/hadis/reference_images/1891_ ref1.png " ,
" priority " : 1
}
]
} ,
" narrators " : {
" description " : ' null ' ,
" description " : None ,
" transmitters " : [
{
" id " : 53 ,
" name " : " Мухаммад ибн аль-Хасан ат-Туси " ,
" reliability " : " unknown " ,
" layer_level " : ' null ' ,
" layer_name " : ' null ' ,
" is_gap " : ' false ' ,
" birth_year_hijri " : 385 ,
" death_year_hijri " : 460 ,
" id " : 1017 ,
" name " : " Хинд бинт Хузайфа ибн аль-Мугира ибн Абдуллах ибн Умар ибн Махзум " ,
" slug " : " хинд-бинт-хузайфа-ибн-аль-мугира-ибн-абдуллах-ибн-умар-ибн-махзум " ,
" known_as " : " Умм Саляма Завдж ан-Наби " ,
" nickname " : " Умм аль-Муминин " ,
" reliability " : {
" id " : 58 ,
" title " : " ⚫ сподвижник " ,
" color " : " gray " ,
" main_color_code " : " #374151 "
} ,
" layer_level " : 1 ,
" layer_name " : " Companions " ,
" is_gap " : False ,
" birth_year_hijri " : " 28 год до Хиджры " ,
" death_year_hijri " : " 63 " ,
" order " : 0
} ,
{
" id " : 1015 ,
" name " : " Саад ибн Малик ибн Синан ибн Убайд ибн Саалаба ибн Убайд ибн Худра ибн Ауф ибн аль-Харис ибн аль-Хазрадж " ,
" slug " : " саад-ибн-малик-ибн-синан-ибн-убайд-ибн-саалаба-ибн-убайд-ибн-худра-ибн-ауф-ибн-аль-харис-ибн-аль-хазрадж " ,
" known_as " : " Абу Саид аль-Худри " ,
" nickname " : " " ,
" reliability " : {
" id " : 58 ,
" title " : " ⚫ сподвижник " ,
" color " : " gray " ,
" main_color_code " : " #374151 "
} ,
" layer_level " : 1 ,
" layer_name " : " Companions " ,
" is_gap " : False ,
" birth_year_hijri " : " 10 год до Хиджры " ,
" death_year_hijri " : " 63 " ,
" order " : 1
} ,
{
" id " : 60 ,
" name " : " Мухаммад ибн Муслим " ,
" reliability " : " unknown " ,
" layer_level " : ' null ' ,
" layer_name " : ' null ' ,
" is_gap " : ' false ' ,
" birth_year_hijri " : 70 ,
" death_year_hijri " : 150 ,
" id " : 1018 ,
" name " : " Атыйя ибн Саад ибн Джунада " ,
" slug " : " атыйя-ибн-саад-ибн-джунада " ,
" known_as " : " Атыйя ибн Саад аль-Ауфи " ,
" nickname " : " " ,
" reliability " : {
" id " : 59 ,
" title " : " 🔵 слабый " ,
" color " : " gray " ,
" main_color_code " : " #374151 "
} ,
" layer_level " : 3 ,
" layer_name " : " Successors of Successors " ,
" is_gap " : False ,
" birth_year_hijri " : " " ,
" death_year_hijri " : " 111 " ,
" order " : 2
} ,
{
" id " : 1026 ,
" name " : " Фудайль ибн Газван ибн Джарир " ,
" slug " : " фудайль-ибн-газван-ибн-джарир " ,
" known_as " : " аль-Фудайль ибн Газван ад-Дабби " ,
" nickname " : " Вольноотпущенник племени бану Дабби " ,
" reliability " : {
" id " : 60 ,
" title " : " 🟢 надежный " ,
" color " : " gray " ,
" main_color_code " : " #374151 "
} ,
" layer_level " : 7 ,
" layer_name " : " Layer 7 " ,
" is_gap " : False ,
" birth_year_hijri " : " " ,
" death_year_hijri " : " 141 " ,
" order " : 3
} ,
{
" id " : 1027 ,
" name " : " Абдуллах ибн Дауд ибн Амир ибн ар-Раби " ,
" slug " : " абдуллах-ибн-дауд-ибн-амир-ибн-ар-раби " ,
" known_as " : " Абдуллах ибн Дауд аль-Хурайби " ,
" nickname " : " " ,
" reliability " : {
" id " : 60 ,
" title " : " 🟢 надежный " ,
" color " : " gray " ,
" main_color_code " : " #374151 "
} ,
" layer_level " : 9 ,
" layer_name " : " Layer 9 " ,
" is_gap " : False ,
" birth_year_hijri " : " 126 " ,
" death_year_hijri " : " 213 " ,
" order " : 4
} ,
{
" id " : 1019 ,
" name " : " Мухаммад ибн Исмаил ибн Иса " ,
" slug " : " мухаммад-ибн-исмаил-ибн-иса " ,
" known_as " : " Мухаммад ибн Исмаил аль-Басри " ,
" nickname " : " Ибн Абу Самина " ,
" reliability " : {
" id " : 60 ,
" title " : " 🟢 надежный " ,
" color " : " gray " ,
" main_color_code " : " #374151 "
} ,
" layer_level " : 10 ,
" layer_name " : " Layer 10 " ,
" is_gap " : False ,
" birth_year_hijri " : " " ,
" death_year_hijri " : " 230 " ,
" order " : 5
} ,
{
" id " : 1023 ,
" name " : " Ахмад ибн Али ибн аль-Мусанна ибн Яхья ибн Иса ибн Хилаль " ,
" slug " : " ахмад-ибн-али-ибн-аль-мусанна-ибн-яхья-ибн-иса-ибн-хилаль " ,
" known_as " : " Абу Яла аль-Маусили " ,
" nickname " : " " ,
" reliability " : {
" id " : 61 ,
" title " : " 🟢 супернадежный " ,
" color " : " gray " ,
" main_color_code " : " #374151 "
} ,
" layer_level " : 13 ,
" layer_name " : " Layer 13 " ,
" is_gap " : False ,
" birth_year_hijri " : " 210 " ,
" death_year_hijri " : " 307 " ,
" order " : 6
}
]
} ,
" explanations " : " Example explanation... " ,
" explanations " : [
{
" title " : " Vocabulary & Linguistic Analysis " ,
" detail " : " The term ' Niyyah ' (Intention) is pivotal in Islamic lexicon, derived from the root ' nawa ' , meaning to aim, direct, or purpose oneself towards a specific destination. In the terminology of the jurists (Fuqaha), it serves a dual function: firstly, to distinguish acts of worship (Ibadah) from mundane customary habits (Adah)—such as distinguishing the act of washing oneself for cooling off from the act of Ghusl (ritual purification). Secondly, it distinguishes different ranks of worship from one another, such as separating a noon prayer that is obligatory (Fard) from one that is voluntary (Sunnah). Philosophically, scholars like Al-Ghazali have elaborated that Niyyah is the ' spirit ' of the action, while the physical movement is merely the ' body ' ; a body without a spirit is lifeless, just as an action without sincere intention holds no weight in the Divine Court. "
} ,
{
" title " : " Context of Revelation (Asbab al-Wurud) " ,
" detail " : " This tradition is famously known as the ' Hadith of the Migrant to Umm Qais ' . It was delivered by the Prophet (PBUH) from the pulpit in Medina to address a subtle but critical issue within the community. Reports indicate that a man had migrated from Mecca to Medina not solely for the sake of Allah and His Messenger, but because a woman named Umm Qais had refused to marry him unless he undertook the migration. While his physical journey was identical to the other companions who sacrificed their homes for faith, his internal compass was directed towards a worldly gain. The Prophet (PBUH) used this specific incident to establish a universal maxim: that the validity and reward of any deed are inextricably bound to the hidden motive behind it, warning that one who targets the world will attain only that, with no share in the Hereafter. "
}
] ,
" corrections " : [
{
" id " : " id " ,
' title ' : ' title ' ,
' description ' : ' description ' ,
' translation ' : ' translation ' ,
' share_link ' : ' share_link '
" id " : 26 ,
" title " : " Scholar Note #4 " ,
" description " : " " ,
" translation " : " Revised text segment for correction 4... " ,
" share_link " : " https://dovodi.newhorizonco.uk/arguments/hadith/hadis-ru-1-7c2df773/corrections/scholar-note-4 "
} ,
{
" id " : 25 ,
" title " : " Alternative Translation #3 " ,
" description " : " " ,
" translation " : " Revised text segment for correction 3... " ,
" share_link " : " https://dovodi.newhorizonco.uk/arguments/hadith/hadis-ru-1-7c2df773/corrections/alternative-translation-3 "
} ,
]
}