Skip to content
Snippets Groups Projects
Commit bf2f0700 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

improve docs around the unblinded-tokens GET interface

parent 2da64e88
No related branches found
No related tags found
1 merge request!212Close the trust loop
......@@ -147,7 +147,7 @@ This endpoint accepts several query arguments:
* limit: An integer limiting the number of unblinded tokens to retrieve.
* position: A string which can be compared against unblinded token values.
Only unblinded tokens which sort as great than this value are returned.
Only unblinded tokens which follow this token in the stable order are returned.
This endpoint accepts no request body.
......@@ -158,6 +158,10 @@ The response is **OK** with ``application/json`` content-type response body like
, "lease-maintenance-spending": <spending object>
}
The value associated with ``total`` gives the total number of unblinded tokens in the node's database
(independent of any limit placed on this query).
The value associated with ``unblinded-tokens`` gives the requested list of unblinded tokens.
The ``<spending object>`` may be ``null`` if the lease maintenance process has never run.
If it has run,
``<spending object>`` has two properties:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment