Select linked items from search page

- Quickly select related items from the search view
- Include related items with item details to spare another request
This commit is contained in:
eikek
2022-03-19 18:31:45 +01:00
parent 71f88486c2
commit 37b5a4dfef
13 changed files with 119 additions and 22 deletions

View File

@ -2533,6 +2533,8 @@ paths:
schema:
$ref: "#/components/schemas/FileIntegrityCheckRequest"
responses:
422:
description: BadRequest
200:
description: Ok
content:
@ -7194,6 +7196,7 @@ components:
- archives
- tags
- customfields
- relatedItems
properties:
id:
type: string
@ -7257,6 +7260,13 @@ components:
type: array
items:
$ref: "#/components/schemas/ItemFieldValue"
relatedItems:
description: |
All related items to this item. The list contains items
without more details being resolved.
type: array
items:
$ref: "#/components/schemas/ItemLight"
Attachment:
description: |
Information about an attachment to an item.
@ -8001,6 +8011,11 @@ components:
type: array
items:
$ref: "#/components/schemas/ItemFieldValue"
relatedItems:
type: array
items:
type: string
format: ident
notes:
description: |
Some prefix of the item notes.