Add folder counts to search summary

This commit is contained in:
Eike Kettner
2020-12-16 01:14:27 +01:00
parent a995ea8729
commit 8fba637ebe
5 changed files with 61 additions and 6 deletions

View File

@ -4174,6 +4174,7 @@ components:
- count
- tagCloud
- fieldStats
- folderStats
properties:
count:
type: integer
@ -4184,6 +4185,10 @@ components:
type: array
items:
$ref: "#/components/schemas/FieldStats"
folderStats:
type: array
items:
$ref: "#/components/schemas/FolderStats"
ItemInsights:
description: |
Information about the items in docspell.
@ -4204,6 +4209,25 @@ components:
format: int64
tagCloud:
$ref: "#/components/schemas/TagCloud"
FolderStats:
description: |
Count of folder usage.
required:
- id
- name
- owner
- count
properties:
id:
type: string
format: ident
name:
type: string
owner:
$ref: "#/components/schemas/IdName"
count:
type: integer
format: int32
FieldStats:
description: |
Basic statistics about a custom field.