mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 18:38:26 +00:00
Link shares to the user, not the collective
The user is required when searching because of folders (sadly), so the share is connected to the user.
This commit is contained in:
@ -1932,6 +1932,9 @@ paths:
|
||||
Return a list of all shares for this collective.
|
||||
security:
|
||||
- authTokenHeader: []
|
||||
parameters:
|
||||
- $ref: "#/components/parameters/q"
|
||||
- $ref: "#/components/parameters/owningShare"
|
||||
responses:
|
||||
200:
|
||||
description: Ok
|
||||
@ -4496,6 +4499,7 @@ components:
|
||||
required:
|
||||
- id
|
||||
- query
|
||||
- owner
|
||||
- enabled
|
||||
- publishAt
|
||||
- publishUntil
|
||||
@ -4509,6 +4513,8 @@ components:
|
||||
query:
|
||||
type: string
|
||||
format: itemquery
|
||||
owner:
|
||||
$ref: "#/components/schemas/IdName"
|
||||
name:
|
||||
type: string
|
||||
enabled:
|
||||
@ -6805,6 +6811,13 @@ components:
|
||||
required: false
|
||||
schema:
|
||||
type: boolean
|
||||
owningShare:
|
||||
name: owning
|
||||
in: query
|
||||
description: Return my own shares only
|
||||
required: false
|
||||
schema:
|
||||
type: boolean
|
||||
checksum:
|
||||
name: checksum
|
||||
in: path
|
||||
|
Reference in New Issue
Block a user