diff --git a/definitions/v3/tellytorrent-api.yml b/definitions/v3/tellytorrent-api.yml index 7bd720a7c..a3aba3f0f 100644 --- a/definitions/v3/tellytorrent-api.yml +++ b/definitions/v3/tellytorrent-api.yml @@ -76,6 +76,7 @@ search: - path: "/api/torrents/filter" response: type: json + attribute: attributes inputs: # if we have an id based search, add Season and Episode as query in name for UNIT3D < v6. Else pass S/E Params for UNIT3D >= v6 @@ -89,7 +90,6 @@ search: rows: selector: data - attribute: attributes count: selector: meta.total diff --git a/definitions/v3/uhd-heaven.yml b/definitions/v3/uhd-heaven.yml index f5a484952..53077d7b0 100644 --- a/definitions/v3/uhd-heaven.yml +++ b/definitions/v3/uhd-heaven.yml @@ -65,6 +65,7 @@ search: - path: "/api/torrents/filter" response: type: json + attribute: attributes inputs: # if we have an id based search, add Season and Episode as query in name for UNIT3D < v6. Else pass S/E Params for UNIT3D >= v6 @@ -78,7 +79,6 @@ search: rows: selector: data - attribute: attributes count: selector: meta.total diff --git a/definitions/v4/lat-team-api.yml b/definitions/v4/lat-team-api.yml index ee407b0bf..00708b454 100644 --- a/definitions/v4/lat-team-api.yml +++ b/definitions/v4/lat-team-api.yml @@ -71,13 +71,14 @@ search: - path: "/api/torrents/filter?api_token={{ .Config.apikey }}&name={{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}{{ if .Query.TMDBID }}&tmdbId={{ .Query.TMDBID }}{{ else }}{{ end }}{{ if .Query.IMDBIDShort }}&imdbId={{ .Query.IMDBIDShort }}{{ else }}{{ end }}{{ if .Query.TVDBID }}&tvdbId={{ .Query.TVDBID }}{{ else }}{{ end }}&sortField={{ .Config.sort }}&sortDirection={{ .Config.type }}&perPage=100&page=1{{ range .Categories }}&categories[]={{.}}{{end}}{{ if .Config.freeleech }}&free=1{{ else }}{{ end }}" response: type: json + attribute: attributes + keywordsfilters: - name: re_replace args: ["(?i)\\bS(\\d+)", "T$1"] rows: selector: data - attribute: attributes count: selector: meta.total diff --git a/definitions/v4/redbits-api.yml b/definitions/v4/redbits-api.yml index f2b456df2..39a67bd61 100644 --- a/definitions/v4/redbits-api.yml +++ b/definitions/v4/redbits-api.yml @@ -68,6 +68,7 @@ search: - path: "/api/torrents/filter" response: type: json + attribute: attributes inputs: # if we have an id based search, add Season and Episode as query in name for UNIT3D < v6. Else pass S/E Params for UNIT3D >= v6 @@ -81,7 +82,6 @@ search: rows: selector: data - attribute: attributes count: selector: meta.total diff --git a/definitions/v4/shareisland-api.yml b/definitions/v4/shareisland-api.yml index a4e2d2d84..87dab17a3 100644 --- a/definitions/v4/shareisland-api.yml +++ b/definitions/v4/shareisland-api.yml @@ -75,6 +75,7 @@ search: - path: "/api/torrents/filter" response: type: json + attribute: attributes inputs: # if we have an id based search, add Season and Episode as query in name for UNIT3D < v6. Else pass S/E Params for UNIT3D >= v6 @@ -96,7 +97,6 @@ search: rows: selector: data - attribute: attributes count: selector: meta.total diff --git a/definitions/v4/tellytorrent-api.yml b/definitions/v4/tellytorrent-api.yml index e816f0c0d..d94d26881 100644 --- a/definitions/v4/tellytorrent-api.yml +++ b/definitions/v4/tellytorrent-api.yml @@ -75,6 +75,7 @@ search: - path: "/api/torrents/filter" response: type: json + attribute: attributes inputs: # if we have an id based search, add Season and Episode as query in name for UNIT3D < v6. Else pass S/E Params for UNIT3D >= v6 @@ -88,7 +89,6 @@ search: rows: selector: data - attribute: attributes count: selector: meta.total diff --git a/definitions/v4/uhd-heaven.yml b/definitions/v4/uhd-heaven.yml index 3f7b4414a..a69034f82 100644 --- a/definitions/v4/uhd-heaven.yml +++ b/definitions/v4/uhd-heaven.yml @@ -64,6 +64,7 @@ search: - path: "/api/torrents/filter" response: type: json + attribute: attributes inputs: # if we have an id based search, add Season and Episode as query in name for UNIT3D < v6. Else pass S/E Params for UNIT3D >= v6 @@ -77,7 +78,6 @@ search: rows: selector: data - attribute: attributes count: selector: meta.total