swag-payments/spec/paths/processing@invoices@{invoiceID}@events.yaml
2018-10-22 14:43:35 +03:00

39 lines
1.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

get:
description: Получить историю указанного инвойса в виде набора событий.
tags:
- Invoices
operationId: getInvoiceEvents
parameters:
- $ref: '#/parameters/requestID'
- $ref: '#/parameters/deadline'
- $ref: '#/parameters/invoiceID'
- name: limit
in: query
description: Лимит выборки
required: true
type: integer
format: int32
minimum: 1
- name: eventID
in: query
description: |
Идентификатор события.
Все события, возникшие в системе _после_ указанного, попадут в выборку.
required: false
type: integer
format: int32
responses:
'200':
description: Набор событий
schema:
type: array
items:
$ref: '#/definitions/InvoiceEvent'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
$ref: '#/responses/DefaultLogicError'