From 331ce1f12cf42f9e04e1adef7a6dd6a4f408cbb6 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Wed, 8 Dec 2021 04:03:55 -0300 Subject: [PATCH] add sd hash to API --- lbry/extras/daemon/daemon.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lbry/extras/daemon/daemon.py b/lbry/extras/daemon/daemon.py index 1cd731dcb..78e554cfb 100644 --- a/lbry/extras/daemon/daemon.py +++ b/lbry/extras/daemon/daemon.py @@ -2440,7 +2440,7 @@ class Daemon(metaclass=JSONRPCServerType): [--not_locations=...] [--order_by=...] [--no_totals] [--page=] [--page_size=] [--wallet_id=] [--include_purchase_receipt] [--include_is_my_output] - [--remove_duplicates] [--has_source | --has_no_source] + [--remove_duplicates] [--has_source | --has_no_source] [--sd_hash] [--new_sdk_server=] Options: @@ -2538,6 +2538,8 @@ class Daemon(metaclass=JSONRPCServerType): --remove_duplicates : (bool) removes duplicated content from search by picking either the original claim or the oldest matching repost --has_source : (bool) find claims containing a source field + --sd_hash : (str) find claims where the source stream descriptor hash matches + (partially or completely) the given hexadecimal string --has_no_source : (bool) find claims not containing a source field --new_sdk_server= : (str) URL of the new SDK server (EXPERIMENTAL)