API route for returning tracked analytics keys (#10019)
* feat: track metrics saved by NodeBB (and assoc. plugins), #9949 * feat: route to retrieve analytics keys, closes #9949isekai-main
parent
449366ca83
commit
5b42b6b369
@ -0,0 +1,20 @@
|
|||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- admin
|
||||||
|
summary: get analytics keys
|
||||||
|
description: This operation returns the list metrics tracked by NodeBB. It is only accessible to administrators.
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
description: Analytics keys retrieved
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
status:
|
||||||
|
$ref: ../../components/schemas/Status.yaml#/Status
|
||||||
|
response:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
keys:
|
||||||
|
type: array
|
Loading…
Reference in New Issue