From bbbaf59591d3c4e829846b6ac63d3820a36a9e3f Mon Sep 17 00:00:00 2001 From: belikor Date: Thu, 23 Sep 2021 17:44:22 -0500 Subject: [PATCH 1/2] daemon: fix documentation in the `file_list` docstring This is necessary to produce the `docs/api.json` (through `scripts/generate_json_api.py`) with correct information, and to be able to parse this file later on by other tools. --- lbry/extras/daemon/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbry/extras/daemon/daemon.py b/lbry/extras/daemon/daemon.py index d0220cff6..62cf93b76 100644 --- a/lbry/extras/daemon/daemon.py +++ b/lbry/extras/daemon/daemon.py @@ -2040,7 +2040,7 @@ class Daemon(metaclass=JSONRPCServerType): --channel_claim_id= : (str) get file with matching channel claim id(s) --channel_name= : (str) get file with matching channel name --claim_name= : (str) get file with matching claim name - --blobs_in_stream : (int) get file with matching blobs in stream + --blobs_in_stream= : (int) get file with matching blobs in stream --download_path= : (str) get file with matching download path --uploading_to_reflector= : (bool) get files currently uploading to reflector --is_fully_reflected= : (bool) get files that have been uploaded to reflector From 8ac89af8bd1674e763a3406d84254b82b54750b8 Mon Sep 17 00:00:00 2001 From: belikor Date: Thu, 23 Sep 2021 20:29:16 -0500 Subject: [PATCH 2/2] api.json: correct the error in the generated documentation From `"name": "blobs_in_stream"` to `"name": "blobs_in_stream"`. --- docs/api.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.json b/docs/api.json index f968b1f83..23780f235 100644 --- a/docs/api.json +++ b/docs/api.json @@ -2657,7 +2657,7 @@ "is_required": false }, { - "name": "blobs_in_stream", + "name": "blobs_in_stream", "type": "int", "description": "get file with matching blobs in stream", "is_required": false @@ -5062,4 +5062,4 @@ } ] } -} \ No newline at end of file +}