mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 01:55:01 +00:00
Ajout d'une liste de tickets
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
components:
|
||||
schemas:
|
||||
TicketSimple:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
Motive:
|
||||
type: object
|
||||
properties:
|
||||
@@ -44,6 +49,40 @@ paths:
|
||||
responses:
|
||||
200:
|
||||
description: "OK"
|
||||
/1.0/ticket/ticket/list:
|
||||
get:
|
||||
tags:
|
||||
- ticket
|
||||
summary: List of tickets
|
||||
parameters:
|
||||
- name: byPerson
|
||||
in: query
|
||||
description: the id of the person
|
||||
required: false
|
||||
style: form
|
||||
explode: false
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
type: integer
|
||||
format: integer
|
||||
minimum: 1
|
||||
responses:
|
||||
200:
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
allOf:
|
||||
- $ref: '#components/schemas/Collection'
|
||||
- type: object
|
||||
properties:
|
||||
results:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#component/schema/TicketSimple'
|
||||
|
||||
|
||||
/1.0/ticket/motive.json:
|
||||
get:
|
||||
tags:
|
||||
|
Reference in New Issue
Block a user