Consolidate search endpoints for better API organization
- Removed duplicate /api/search endpoint - Kept /search as the main JSON API endpoint with proper documentation - Added /search/form for web form submissions - Updated HTML form to use /search/form endpoint - Clear separation between API and web interface - Media type enums still visible in /docs for API usage - Maintains all functionality while reducing endpoint confusion
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<form method="post" action="/search">
|
||||
<form method="post" action="/search/form">
|
||||
<div class="mb-3">
|
||||
<label for="media_type" class="form-label">Media Type</label>
|
||||
<select class="form-select" id="media_type" name="media_type" required>
|
||||
|
Reference in New Issue
Block a user