mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 01:55:01 +00:00
Ticket: ajout de paramètres à la requête de liste de tickets
This commit is contained in:
@@ -85,6 +85,56 @@ paths:
|
||||
enum:
|
||||
- open
|
||||
- closed
|
||||
- name: byCurrentStateEmergency
|
||||
in: query
|
||||
description: the current state emergency of the ticket
|
||||
required: false
|
||||
style: form
|
||||
explode: false
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
enum:
|
||||
- yes
|
||||
- no
|
||||
- name: byMotives
|
||||
in: query
|
||||
description: the motives of the ticket
|
||||
required: false
|
||||
style: form
|
||||
explode: false
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
type: integer
|
||||
format: integer
|
||||
minimum: 1
|
||||
- name: byCreatedBefore
|
||||
in: query
|
||||
description: "Filter by the creation date for the ticket: only tickets created before the given date."
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
format: date-time
|
||||
- name: byCreatedAfter
|
||||
in: query
|
||||
description: "Filter by the creation date for the ticket: only tickets crated after the given date."
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
format: date-time
|
||||
- name: byResponseTimeExceeded
|
||||
in: query
|
||||
allowEmptyValue: true
|
||||
description: |
|
||||
Filter tickets that are not closed and have a response time exceeded (configuration parameter).
|
||||
|
||||
The value of this parameter is ignored.
|
||||
|
||||
**Warning**: This silently remove the filters "byCurrentState" and "byCreatedBefore".
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
200:
|
||||
description: OK
|
||||
|
Reference in New Issue
Block a user