Files
NodeBB/public/openapi/write/admin/analytics.yaml
Julian Lam 5b42b6b369 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 #9949
2021-11-19 15:12:13 -05:00

20 lines
571 B
YAML

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