This commit is contained in:
Jack Robison 2018-06-19 14:09:21 -04:00
parent e435a9f722
commit c38928ff58
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2
3 changed files with 149 additions and 79 deletions

View file

@ -496,6 +496,13 @@
publish publish
</a> </a>
</li>
<li class="md-nav__item">
<a href="#report_bug" title="report_bug" class="md-nav__link">
report_bug
</a>
</li> </li>
<li class="md-nav__item"> <li class="md-nav__item">
@ -912,6 +919,13 @@
publish publish
</a> </a>
</li>
<li class="md-nav__item">
<a href="#report_bug" title="report_bug" class="md-nav__link">
report_bug
</a>
</li> </li>
<li class="md-nav__item"> <li class="md-nav__item">
@ -1642,7 +1656,7 @@ Usage:
file_list [--sd_hash=&lt;sd_hash&gt;] [--file_name=&lt;file_name&gt;] [--stream_hash=&lt;stream_hash&gt;] file_list [--sd_hash=&lt;sd_hash&gt;] [--file_name=&lt;file_name&gt;] [--stream_hash=&lt;stream_hash&gt;]
[--rowid=&lt;rowid&gt;] [--claim_id=&lt;claim_id&gt;] [--outpoint=&lt;outpoint&gt;] [--txid=&lt;txid&gt;] [--nout=&lt;nout&gt;] [--rowid=&lt;rowid&gt;] [--claim_id=&lt;claim_id&gt;] [--outpoint=&lt;outpoint&gt;] [--txid=&lt;txid&gt;] [--nout=&lt;nout&gt;]
[--channel_claim_id=&lt;channel_claim_id&gt;] [--channel_name=&lt;channel_name&gt;] [--channel_claim_id=&lt;channel_claim_id&gt;] [--channel_name=&lt;channel_name&gt;]
[--claim_name=&lt;claim_name&gt;] [--full_status] [--claim_name=&lt;claim_name&gt;] [--full_status] [--sort=&lt;sort_method&gt;...]
Options: Options:
@ -1660,6 +1674,9 @@ Options:
--claim_name=&lt;claim_name&gt; : (str) get file with matching claim name --claim_name=&lt;claim_name&gt; : (str) get file with matching claim name
--full_status : (bool) full status, populate the --full_status : (bool) full status, populate the
'message' and 'size' fields 'message' and 'size' fields
--sort=&lt;sort_method&gt; : (str) sort by any property, like 'file_name'
or 'metadata.author'; to specify direction
append ',asc' or ',desc'
Returns: Returns:
(list) List of files (list) List of files
@ -1852,7 +1869,7 @@ Usage:
Options: Options:
--name=&lt;name&gt; : (str) name of the content --name=&lt;name&gt; : (str) name of the content
--bid=&lt;bid&gt; : (float) amount to back the claim --bid=&lt;bid&gt; : (decimal) amount to back the claim
--metadata=&lt;metadata&gt; : (dict) ClaimDict to associate with the claim. --metadata=&lt;metadata&gt; : (dict) ClaimDict to associate with the claim.
--file_path=&lt;file_path&gt; : (str) path to file to be associated with name. If provided, --file_path=&lt;file_path&gt; : (str) path to file to be associated with name. If provided,
a lbry stream of this file will be used in 'sources'. a lbry stream of this file will be used in 'sources'.
@ -1862,7 +1879,7 @@ Options:
--fee=&lt;fee&gt; : (dict) Dictionary representing key fee to download content: --fee=&lt;fee&gt; : (dict) Dictionary representing key fee to download content:
{ {
'currency': currency_symbol, 'currency': currency_symbol,
'amount': float, 'amount': decimal,
'address': str, optional 'address': str, optional
} }
supported currencies: LBC, USD, BTC supported currencies: LBC, USD, BTC
@ -1892,11 +1909,25 @@ Returns:
'tx' : (str) hex encoded transaction 'tx' : (str) hex encoded transaction
'txid' : (str) txid of resulting claim 'txid' : (str) txid of resulting claim
'nout' : (int) nout of the resulting claim 'nout' : (int) nout of the resulting claim
'fee' : (float) fee paid for the claim transaction 'fee' : (decimal) fee paid for the claim transaction
'claim_id' : (str) claim ID of the resulting claim 'claim_id' : (str) claim ID of the resulting claim
} }
</code></pre> </code></pre>
<h2 id="report_bug">report_bug</h2>
<pre><code class="text">Report a bug to slack
Usage:
report_bug (&lt;message&gt; | --message=&lt;message&gt;)
Options:
--message=&lt;message&gt; : (str) Description of the bug
Returns:
(bool) true if successful
</code></pre>
<h2 id="resolve">resolve</h2> <h2 id="resolve">resolve</h2>
<pre><code class="text">Resolve given LBRY URIs <pre><code class="text">Resolve given LBRY URIs
@ -1998,6 +2029,7 @@ Returns:
&lt;bucket index&gt;: [ &lt;bucket index&gt;: [
{ {
&quot;address&quot;: (str) peer address, &quot;address&quot;: (str) peer address,
&quot;port&quot;: (int) peer udp port
&quot;node_id&quot;: (str) peer node id, &quot;node_id&quot;: (str) peer node id,
&quot;blobs&quot;: (list) blob hashes announced by peer &quot;blobs&quot;: (list) blob hashes announced by peer
} }

View file

@ -484,6 +484,13 @@
publish publish
</a> </a>
</li>
<li class="md-nav__item">
<a href="#report_bug" title="report_bug" class="md-nav__link">
report_bug
</a>
</li> </li>
<li class="md-nav__item"> <li class="md-nav__item">
@ -912,6 +919,13 @@
publish publish
</a> </a>
</li>
<li class="md-nav__item">
<a href="#report_bug" title="report_bug" class="md-nav__link">
report_bug
</a>
</li> </li>
<li class="md-nav__item"> <li class="md-nav__item">
@ -1538,6 +1552,9 @@ Args:
'claim_name' : (str) get file with matching claim name 'claim_name' : (str) get file with matching claim name
'full_status' : (bool) full status, populate the 'full_status' : (bool) full status, populate the
'message' and 'size' fields 'message' and 'size' fields
'sort' : (str) sort by any property, like 'file_name'
or 'metadata.author'; to specify direction
append ',asc' or ',desc'
Returns: Returns:
(list) List of files (list) List of files
@ -1692,7 +1709,7 @@ or sources. Individual arguments will overwrite the fields specified in metadata
Args: Args:
'name' (required) : (str) name of the content 'name' (required) : (str) name of the content
'bid' (required) : (float) amount to back the claim 'bid' (required) : (decimal) amount to back the claim
'metadata' : (dict) ClaimDict to associate with the claim. 'metadata' : (dict) ClaimDict to associate with the claim.
'file_path' : (str) path to file to be associated with name. If provided, 'file_path' : (str) path to file to be associated with name. If provided,
a lbry stream of this file will be used in 'sources'. a lbry stream of this file will be used in 'sources'.
@ -1702,7 +1719,7 @@ Args:
'fee' : (dict) Dictionary representing key fee to download content: 'fee' : (dict) Dictionary representing key fee to download content:
{ {
'currency': currency_symbol, 'currency': currency_symbol,
'amount': float, 'amount': decimal,
'address': str, optional 'address': str, optional
} }
supported currencies: LBC, USD, BTC supported currencies: LBC, USD, BTC
@ -1732,11 +1749,21 @@ Returns:
'tx' : (str) hex encoded transaction 'tx' : (str) hex encoded transaction
'txid' : (str) txid of resulting claim 'txid' : (str) txid of resulting claim
'nout' : (int) nout of the resulting claim 'nout' : (int) nout of the resulting claim
'fee' : (float) fee paid for the claim transaction 'fee' : (decimal) fee paid for the claim transaction
'claim_id' : (str) claim ID of the resulting claim 'claim_id' : (str) claim ID of the resulting claim
} }
</code></pre> </code></pre>
<h2 id="report_bug">report_bug</h2>
<pre><code class="text">Report a bug to slack
Args:
'message' (required) : (str) Description of the bug
Returns:
(bool) true if successful
</code></pre>
<h2 id="resolve">resolve</h2> <h2 id="resolve">resolve</h2>
<pre><code class="text">Resolve given LBRY URIs <pre><code class="text">Resolve given LBRY URIs
@ -1826,6 +1853,7 @@ Returns:
&lt;bucket index&gt;: [ &lt;bucket index&gt;: [
{ {
&quot;address&quot;: (str) peer address, &quot;address&quot;: (str) peer address,
&quot;port&quot;: (int) peer udp port
&quot;node_id&quot;: (str) peer node id, &quot;node_id&quot;: (str) peer node id,
&quot;blobs&quot;: (list) blob hashes announced by peer &quot;blobs&quot;: (list) blob hashes announced by peer
} }

File diff suppressed because one or more lines are too long