Files
NodeBB/public/openapi/read/admin/dashboard/searches.yaml
Barış Soner Uşaklı 086a580329 fix spec
2026-02-15 12:36:15 -05:00

34 lines
1.2 KiB
YAML

get:
tags:
- admin
summary: Get detailed search analytics
responses:
"200":
description: A JSON object containing popular searches.
content:
application/json:
schema:
allOf:
- type: object
properties:
searches:
type: array
items:
type: object
properties:
value:
type: string
description: The string that was searched
score:
type: number
description: Number of times this string has been searched
startDate:
type: string
description: A UNIX timestamp of the start date
nullable: true
endDate:
type: string
description: A UNIX timestamp of the end date
nullable: true
- $ref: ../../../components/schemas/Pagination.yaml#/Pagination
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps