Fix bugs in api endpoint to filter tickets, and add parameters byAddresseeGroup and byCreator

This commit is contained in:
2025-09-08 14:18:02 +00:00
committed by GitLab
parent 807f2711fe
commit 18f67801c7
17 changed files with 611 additions and 38 deletions

View File

@@ -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