mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2026-03-28 05:22:41 +01:00
@@ -5190,77 +5190,6 @@ paths:
|
||||
summary: Remove an comment from an ticket
|
||||
tags:
|
||||
- tickets
|
||||
/tickets/{id}/files:
|
||||
put:
|
||||
description: Link files to an ticket. The files themself will be stored in object
|
||||
storage.
|
||||
operationId: linkFiles
|
||||
parameters:
|
||||
- description: Ticket ID
|
||||
format: int64
|
||||
in: path
|
||||
name: id
|
||||
required: true
|
||||
type: integer
|
||||
x-example: 8125
|
||||
- description: Added files
|
||||
in: body
|
||||
name: files
|
||||
required: true
|
||||
schema:
|
||||
items:
|
||||
$ref: '#/definitions/File'
|
||||
type: array
|
||||
x-example:
|
||||
- key: myfile
|
||||
name: document.doc
|
||||
responses:
|
||||
"200":
|
||||
description: successful operation
|
||||
examples:
|
||||
test:
|
||||
created: 2021-10-02T16:04:59.078186Z
|
||||
files:
|
||||
- key: myfile
|
||||
name: document.doc
|
||||
id: 8125
|
||||
modified: 2021-12-12T12:12:12.000000012Z
|
||||
name: phishing from selenafadel@von.com detected
|
||||
owner: demo
|
||||
references:
|
||||
- href: https://www.seniorleading-edge.name/users/efficient
|
||||
name: recovery
|
||||
- href: http://www.dynamicseamless.com/clicks-and-mortar
|
||||
name: force
|
||||
- href: http://www.leadscalable.biz/envisioneer
|
||||
name: fund
|
||||
schema: '{}'
|
||||
status: closed
|
||||
tickets:
|
||||
- created: 2021-10-02T16:04:59.078186Z
|
||||
id: 8126
|
||||
modified: 2021-10-02T16:04:59.078186Z
|
||||
name: Surfaceintroduce virus detected
|
||||
owner: demo
|
||||
references:
|
||||
- href: http://www.centralworld-class.io/synthesize
|
||||
name: university
|
||||
- href: https://www.futurevirtual.org/supply-chains/markets/sticky/iterate
|
||||
name: goal
|
||||
- href: http://www.chiefsyndicate.io/action-items
|
||||
name: unemployment
|
||||
schema: '{}'
|
||||
status: closed
|
||||
type: alert
|
||||
type: alert
|
||||
schema:
|
||||
$ref: '#/definitions/TicketWithTickets'
|
||||
security:
|
||||
- roles:
|
||||
- ticket:write
|
||||
summary: Link files to an ticket
|
||||
tags:
|
||||
- tickets
|
||||
/tickets/{id}/playbooks:
|
||||
post:
|
||||
operationId: addTicketPlaybook
|
||||
|
||||
Reference in New Issue
Block a user