mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 00:17:15 +02:00
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
This commit is contained in:
20
public/openapi/write/admin/analytics.yaml
Normal file
20
public/openapi/write/admin/analytics.yaml
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user