mirror of
https://github.com/valitydev/swag-analytics.git
synced 2024-11-06 00:35:22 +00:00
ANAPI-22: Cancel Reports (#32)
* Create cancel report api handle * Add comment about cancel restrictions * Reword description to comply with capi
This commit is contained in:
parent
72212b49a8
commit
d148d025c8
18
spec/paths/reports@{reportID}@cancel.yaml
Normal file
18
spec/paths/reports@{reportID}@cancel.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
post:
|
||||
description: Отменить указанный отчет. Отчеты типа `provisionOfService` отменить нельзя
|
||||
tags:
|
||||
- Reports
|
||||
operationId: cancelReport
|
||||
parameters:
|
||||
- $ref: '#/parameters/requestID'
|
||||
- $ref: '#/parameters/deadline'
|
||||
- $ref: '#/parameters/reportID'
|
||||
responses:
|
||||
'202':
|
||||
description: Запрос на отмену отчета принят
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'400':
|
||||
$ref: '#/responses/DefaultLogicError'
|
Loading…
Reference in New Issue
Block a user