Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
ZKAPAuthorizer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Administrator
ZKAPAuthorizer
Commits
bf2f0700
Commit
bf2f0700
authored
3 years ago
by
Jean-Paul Calderone
Browse files
Options
Downloads
Patches
Plain Diff
improve docs around the unblinded-tokens GET interface
parent
2da64e88
No related branches found
Branches containing commit
No related tags found
1 merge request
!212
Close the trust loop
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/source/interface.rst
+5
-1
5 additions, 1 deletion
docs/source/interface.rst
with
5 additions
and
1 deletion
docs/source/interface.rst
+
5
−
1
View file @
bf2f0700
...
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment