mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 01:55:01 +00:00
Record that a ticket can be in emergency, or not
This commit is contained in:
@@ -255,3 +255,36 @@ paths:
|
||||
description: "OK"
|
||||
401:
|
||||
description: "UNAUTHORIZED"
|
||||
/1.0/ticket/ticket/{id}/emergency/{emergency}:
|
||||
post:
|
||||
tags:
|
||||
- ticket
|
||||
summary: Set a ticket as emergency
|
||||
description: |
|
||||
Re-open an existing ticket.
|
||||
|
||||
If the ticket is already opened, no action will be performed on this ticket: his state will remains unchanged, and the
|
||||
ticket will be returned.
|
||||
parameters:
|
||||
- name: id
|
||||
in: path
|
||||
required: true
|
||||
description: The ticket id
|
||||
schema:
|
||||
type: integer
|
||||
format: integer
|
||||
minimum: 1
|
||||
- name: emergency
|
||||
in: path
|
||||
required: true
|
||||
description: the new state of emergency
|
||||
schema:
|
||||
type: string
|
||||
enum:
|
||||
- yes
|
||||
- no
|
||||
responses:
|
||||
200:
|
||||
description: "OK"
|
||||
401:
|
||||
description: "UNAUTHORIZED"
|
||||
|
Reference in New Issue
Block a user