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

Document the changes to the interface

parent a95caba5
No related branches found
No related tags found
1 merge request!81Add web interface for lease maintenance activity monitoring
...@@ -117,4 +117,14 @@ This endpoint accepts no request body. ...@@ -117,4 +117,14 @@ This endpoint accepts no request body.
The response is **OK** with ``application/json`` content-type response body like:: The response is **OK** with ``application/json`` content-type response body like::
{"total": <integer>, "unblinded-tokens": [<unblinded token string>, ...]} { "total": <integer>
, "unblinded-tokens": [<unblinded token string>, ...]
, "lease-maintenance-spending": <spending object>
}
The ``<spending object>`` may be ``null`` if the lease maintenance process has never run.
If it has run,
``<spending object>`` has two properties:
* ``when``: associated with an ISO8601 datetime string giving the approximate time the process ran
* ``count``: associated with a number giving the number of passes which would need to be spent to renew leases on all stored objects seen during the lease maintenance activity
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment