add completed filter arg to file_list

This commit is contained in:
Jack Robison 2020-05-11 19:22:53 -04:00
parent 3c85322523
commit b000a40f28
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2
2 changed files with 5 additions and 3 deletions

View file

@ -1966,8 +1966,8 @@ class Daemon(metaclass=JSONRPCServerType):
[--channel_claim_id=<channel_claim_id>] [--channel_name=<channel_name>] [--channel_claim_id=<channel_claim_id>] [--channel_name=<channel_name>]
[--claim_name=<claim_name>] [--blobs_in_stream=<blobs_in_stream>] [--claim_name=<claim_name>] [--blobs_in_stream=<blobs_in_stream>]
[--blobs_remaining=<blobs_remaining>] [--uploading_to_reflector=<uploading_to_reflector>] [--blobs_remaining=<blobs_remaining>] [--uploading_to_reflector=<uploading_to_reflector>]
[--is_fully_reflected=<is_fully_reflected>] [--status=<status>] [--sort=<sort_by>] [--is_fully_reflected=<is_fully_reflected>] [--status=<status>] [--completed=<completed>]
[--comparison=<comparison>] [--full_status=<full_status>] [--reverse] [--sort=<sort_by>] [--comparison=<comparison>] [--full_status=<full_status>] [--reverse]
[--page=<page>] [--page_size=<page_size>] [--wallet_id=<wallet_id>] [--page=<page>] [--page_size=<page_size>] [--wallet_id=<wallet_id>]
Options: Options:
@ -1988,6 +1988,7 @@ class Daemon(metaclass=JSONRPCServerType):
--uploading_to_reflector=<uploading_to_reflector> : (bool) get files currently uploading to reflector --uploading_to_reflector=<uploading_to_reflector> : (bool) get files currently uploading to reflector
--is_fully_reflected=<is_fully_reflected> : (bool) get files that have been uploaded to reflector --is_fully_reflected=<is_fully_reflected> : (bool) get files that have been uploaded to reflector
--status=<status> : (str) match by status, ( running | finished | stopped ) --status=<status> : (str) match by status, ( running | finished | stopped )
--completed=<completed> : (bool) match only completed
--blobs_remaining=<blobs_remaining> : (int) amount of remaining blobs to download --blobs_remaining=<blobs_remaining> : (int) amount of remaining blobs to download
--sort=<sort_by> : (str) field to sort by (one of the above filter fields) --sort=<sort_by> : (str) field to sort by (one of the above filter fields)
--comparison=<comparison> : (str) logical comparison, (eq | ne | g | ge | l | le | in) --comparison=<comparison> : (str) logical comparison, (eq | ne | g | ge | l | le | in)

View file

@ -34,7 +34,8 @@ class SourceManager:
'txid', 'txid',
'nout', 'nout',
'channel_claim_id', 'channel_claim_id',
'channel_name' 'channel_name',
'completed'
} }
set_filter_fields = { set_filter_fields = {