You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
YAML
33 lines
1.1 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/CommonProps.yaml#/CommonProps |