mirror of
https://github.com/valitydev/swag-fraudbusters-management.git
synced 2024-11-06 00:05:24 +00:00
Add remove method by csv
This commit is contained in:
parent
5de4467eb7
commit
052cc1b833
@ -104,6 +104,8 @@ paths:
|
||||
$ref: ./paths/payments/lists/insertFromCsv.yaml
|
||||
/payments-lists/{id}:
|
||||
$ref: ./paths/payments/lists/removeRow.yaml
|
||||
/payments-lists/remove/csv:
|
||||
$ref: ./paths/payments/lists/removeByCsv.yaml
|
||||
/payments-lists/availableListNames:
|
||||
$ref: ./paths/payments/lists/getAvailableListNames.yaml
|
||||
/payments-lists/currentListNames:
|
||||
|
28
openapi/paths/payments/lists/removeByCsv.yaml
Normal file
28
openapi/paths/payments/lists/removeByCsv.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
post:
|
||||
summary: Удаление записей из ЧБ списки по csv
|
||||
operationId: deleteByCsv
|
||||
tags:
|
||||
- lists
|
||||
|
||||
requestBody:
|
||||
content:
|
||||
multipart/form-data:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
listType:
|
||||
type: string
|
||||
file:
|
||||
type: string
|
||||
format: binary
|
||||
|
||||
responses:
|
||||
'201':
|
||||
description: Load file with lists
|
||||
'401':
|
||||
description: Unauthorized
|
||||
'403':
|
||||
description: Forbidden
|
||||
'404':
|
||||
description: Not Found
|
||||
|
3257
package-lock.json
generated
3257
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user