new: feat: add page indexing queryparam (#24)

This commit is contained in:
2024-12-11 16:04:48 -03:00
committed by GitHub
parent a6c3d3eed1
commit 0a702d1893
4 changed files with 16 additions and 4 deletions

View File

@@ -65,6 +65,7 @@ func HandlerIndex(w http.ResponseWriter, r *http.Request) {
"description": "Indexer for comando torrents",
"query_params": map[string]string{
"q": "search query",
"page": "page number",
"filter_results": "if results with similarity equals to zero should be filtered (true/false)",
},
},
@@ -75,12 +76,14 @@ func HandlerIndex(w http.ResponseWriter, r *http.Request) {
"description": "Indexer for bludv",
"query_params": map[string]string{
"q": "search query",
"page": "page number",
"filter_results": "if results with similarity equals to zero should be filtered (true/false)",
}},
},
"/indexers/torrent-dos-filmes": []map[string]interface{}{
{
"method": "GET",
"page": "page number",
"description": "Indexer for Torrent dos Filmes",
"query_params": map[string]string{
"q": "search query",