swag-payments/spec/paths/shops@{shopID}@reports@{reportID}@files@{fileID}@download.yaml

36 lines
948 B
YAML
Raw Normal View History

2017-07-31 13:57:08 +00:00
get:
description: Скачать файл
tags:
- Reports
operationId: downloadFile
parameters:
- $ref: '#/parameters/requestID'
2018-09-27 06:44:49 +00:00
- $ref: '#/parameters/deadline'
2017-07-31 13:57:08 +00:00
- $ref: '#/parameters/shopID'
- $ref: '#/parameters/reportID'
- $ref: '#/parameters/fileID'
responses:
2018-10-18 09:12:57 +00:00
'200':
2018-10-18 10:44:44 +00:00
description: Download link
2018-10-18 09:12:57 +00:00
schema:
$ref: '#/definitions/ReportLink'
2017-07-31 13:57:08 +00:00
'404':
$ref: '#/responses/NotFound'
'400':
description: Ошибочные данные для скачинвания
schema:
type: object
required:
- code
- message
properties:
code:
description: |
[Код ошибки](#tag/Error-Codes)
type: string
enum:
- invalidRequest
message:
description: Человекочитаемое описание ошибки
type: string