aboutsummaryrefslogtreecommitdiffstats
path: root/docs/openapi.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/openapi.yaml')
-rw-r--r--docs/openapi.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/openapi.yaml b/docs/openapi.yaml
index 0fad136..03afa2f 100644
--- a/docs/openapi.yaml
+++ b/docs/openapi.yaml
@@ -1293,6 +1293,33 @@ paths:
'401':
$ref: '#/components/responses/Unauthorized'
+ /admin/dashboard/messages/own/{seq}:
+ get:
+ tags: [Admin]
+ summary: One of this node's messages, written out
+ description: |
+ The message `seq` (its number in `messages/own/events`) written out, as this
+ node's own console shows it, for a page subscribed to this node showing it (CORS,
+ with a token). Kept while the message log is: the latest 1000, while one looks.
+ parameters:
+ - name: seq
+ in: path
+ required: true
+ schema: { type: integer }
+ responses:
+ '200':
+ description: The message written out.
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
+ text: { type: string }
+ '401':
+ $ref: '#/components/responses/Unauthorized'
+ '404':
+ description: Not kept any more.
+
/admin/dashboard/refresh:
post:
tags: [Admin]