mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +00:00
Return info about original files in item detail
This adds data to the current rest api.
This commit is contained in:
@ -1844,6 +1844,7 @@ components:
|
||||
- created
|
||||
- updated
|
||||
- attachments
|
||||
- sources
|
||||
- tags
|
||||
properties:
|
||||
id:
|
||||
@ -1890,6 +1891,10 @@ components:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/Attachment"
|
||||
sources:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/AttachmentSource"
|
||||
tags:
|
||||
type: array
|
||||
items:
|
||||
@ -1901,6 +1906,7 @@ components:
|
||||
- id
|
||||
- size
|
||||
- contentType
|
||||
- converted
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
@ -1913,6 +1919,29 @@ components:
|
||||
contentType:
|
||||
type: string
|
||||
format: mimetype
|
||||
converted:
|
||||
type: boolean
|
||||
AttachmentSource:
|
||||
description: |
|
||||
The source or original file of an attachment.
|
||||
required:
|
||||
- id
|
||||
- size
|
||||
- contentType
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
format: ident
|
||||
description: |
|
||||
The id is the attachment id.
|
||||
name:
|
||||
type: string
|
||||
size:
|
||||
type: integer
|
||||
format: int64
|
||||
contentType:
|
||||
type: string
|
||||
format: mimetype
|
||||
Registration:
|
||||
description: |
|
||||
Data for registering a new account.
|
||||
|
Reference in New Issue
Block a user