Implement Jackett search entpoint
This commit is contained in:
@@ -8,11 +8,35 @@ service IndexerService {
|
||||
}
|
||||
|
||||
message SearchRequest {
|
||||
string indexer = 1;
|
||||
string query = 2;
|
||||
int32 limit = 3;
|
||||
string query = 1;
|
||||
int32 limit = 2;
|
||||
string tracker = 3;
|
||||
}
|
||||
message SearchResponse {
|
||||
repeated SearchItem result = 1;
|
||||
}
|
||||
|
||||
message SearchItem {
|
||||
string title = 1;
|
||||
string link = 2;
|
||||
string guid = 3;
|
||||
string pub_date = 4;
|
||||
int64 size = 5;
|
||||
string description = 6;
|
||||
repeated string categories = 7;
|
||||
Enclosure enclosure = 8;
|
||||
repeated TorznabAttr torznab_attrs = 9;
|
||||
}
|
||||
|
||||
message Enclosure {
|
||||
string url = 1;
|
||||
int64 length = 2;
|
||||
string type = 3;
|
||||
}
|
||||
|
||||
message TorznabAttr {
|
||||
string name = 1;
|
||||
string value = 2;
|
||||
}
|
||||
|
||||
message CapabilitiesRequest {
|
||||
|
||||
Reference in New Issue
Block a user