@ -296,10 +296,13 @@ class CustomAPIDocumentationView(View):
'name':'Book List',
'name':'Book List',
'method':'GET',
'method':'GET',
'url':'/api/library/books/',
'url':'/api/library/books/',
'description':'Get paginated list of books',
'description':'Get paginated list of books with filtering and sorting',
'parameters':[
'parameters':[
{'name':'category','type':'integer','description':'Filter by category ID','required':False},
{'name':'search','type':'string','description':'Search in book titles and authors','required':False},
{'name':'category','type':'string','description':'Filter by category slug(s). Can be a single slug or comma-separated list (e.g., "slug1,slug2")','required':False},
{'name':'collection_id','type':'integer','description':'Filter by collection ID','required':False},
@ -576,12 +594,13 @@ class CustomAPIDocumentationView(View):
'name':'Podcast Playlist List',
'name':'Podcast Playlist List',
'method':'GET',
'method':'GET',
'url':'/api/podcast/playlists/',
'url':'/api/podcast/playlists/',
'description':'Get paginated list of podcast playlists',
'description':'Get paginated list of podcast playlists with filtering and sorting',
'parameters':[
'parameters':[
{'name':'category','type':'string','description':'Filter by category slug','required':False},
{'name':'category','type':'string','description':'Filter by category slug(s). Can be a single slug or comma-separated list (e.g., "slug1,slug2")','required':False},
{'name':'collection','type':'string','description':'Filter by collection slug','required':False},
{'name':'collection','type':'string','description':'Filter by collection slug','required':False},
@ -595,6 +614,7 @@ class CustomAPIDocumentationView(View):
"slogan":"Learn the basics of Islamic thought through audio",
"slogan":"Learn the basics of Islamic thought through audio",
"view_count":1234,
"view_count":1234,
"total_time_formatted":"02:45:30",
"total_time_formatted":"02:45:30",
"episodes_count":12,
"order":1,
"order":1,
"created_at":"2024-01-15T10:30:00Z"
"created_at":"2024-01-15T10:30:00Z"
}
}
@ -915,12 +935,13 @@ class CustomAPIDocumentationView(View):
'name':'Article List',
'name':'Article List',
'method':'GET',
'method':'GET',
'url':'/api/article/list/',
'url':'/api/article/list/',
'description':'Get paginated list of articles with filtering',
'description':'Get paginated list of articles with filtering and sorting',
'parameters':[
'parameters':[
{'name':'category','type':'string','description':'Filter by category slug','required':False},
{'name':'category','type':'string','description':'Filter by category slug(s). Can be a single slug or comma-separated list (e.g., "slug1,slug2")','required':False},
{'name':'collection','type':'string','description':'Filter by collection slug','required':False},
{'name':'collection','type':'string','description':'Filter by collection slug','required':False},