aboutsummaryrefslogtreecommitdiffstats
path: root/docs/openapi.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/openapi.yaml')
-rw-r--r--docs/openapi.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/docs/openapi.yaml b/docs/openapi.yaml
index d067f4f..742a013 100644
--- a/docs/openapi.yaml
+++ b/docs/openapi.yaml
@@ -626,6 +626,40 @@ paths:
'503':
description: Node is not ready.
+ /admin/refused:
+ get:
+ tags: [Admin]
+ summary: Changes refused under the swarm's policy
+ description: |
+ The changes this node refused under the swarm's policy
+ (`_continuum/access/policy`, `access.md`), newest first, the last thousand at
+ most since it started or switched epochs: each with its hash, when its writer
+ made it (its clock), the node and user it names, what it touched, and why.
+ responses:
+ '200':
+ description: The refused changes.
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ type: object
+ required: [hash, at, paths, why]
+ properties:
+ hash:
+ type: string
+ at:
+ type: integer
+ node:
+ type: string
+ user:
+ type: string
+ paths:
+ type: array
+ items:
+ type: string
+ why:
+ type: string
/admin/changes/{key}:
get:
tags: [Admin]