fix: schema changes for f4cf482a87

This commit is contained in:
Julian Lam
2023-01-26 13:06:53 -05:00
parent aad300d38f
commit 434472a3bd
3 changed files with 14 additions and 3 deletions

View File

@@ -60,5 +60,16 @@ get:
description: An ISO 8601 formatted date string (complementing `timestamp`)
showSystemControls:
type: boolean
popularSearches:
type: array
items:
type: object
properties:
value:
type: string
description: The search term
score:
type: number
description: How many times it has been queried
- $ref: ../../components/schemas/admin/dashboard.yaml#/Stats
- $ref: ../../components/schemas/CommonProps.yaml#/CommonProps

View File

@@ -1,7 +1,7 @@
get:
tags:
- admin
summary: Get detailed user registration analytics
summary: Get detailed search analytics
responses:
"200":
description: A JSON object containing popular searches.

View File

@@ -1,10 +1,10 @@
get:
tags:
- admin
summary: Get detailed user registration analytics
summary: Get detailed topic creation analytics
responses:
"200":
description: A JSON object containing more detailed analytics related to user registrations.
description: A JSON object containing more detailed analytics related to topic creations.
content:
application/json:
schema: