mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 01:55:01 +00:00
Fix bugs in api endpoint to filter tickets, and add parameters byAddresseeGroup and byCreator
This commit is contained in:
@@ -137,7 +137,7 @@ paths:
|
||||
type: string
|
||||
- name: byAddressee
|
||||
in: query
|
||||
description: the id of the addressee to search for. The search is also performed against user groups.
|
||||
description: "The id of the addressee to search for. The search is also performed against user groups: the api endpoint filter for ticket assigned to the groups of the user given as parameter."
|
||||
required: false
|
||||
style: form
|
||||
explode: false
|
||||
@@ -154,6 +154,30 @@ paths:
|
||||
allowEmptyValue: true
|
||||
schema:
|
||||
type: string
|
||||
- name: byAddresseeGroup
|
||||
in: query
|
||||
description: the id of the addressee users group to search for.
|
||||
required: false
|
||||
style: form
|
||||
explode: false
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
type: integer
|
||||
format: integer
|
||||
minimum: 1
|
||||
- name: byCreator
|
||||
in: query
|
||||
description: The id of the creator to search for.
|
||||
required: false
|
||||
style: form
|
||||
explode: false
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
type: integer
|
||||
format: integer
|
||||
minimum: 1
|
||||
responses:
|
||||
200:
|
||||
description: OK
|
||||
|
Reference in New Issue
Block a user