swag-payments/spec/paths/processing@invoices@{invoiceID}@events.yaml

39 lines
969 B
YAML
Raw Normal View History

get:
description: Get the history of the specified invoice as a list of events.
tags:
- Invoices
operationId: getInvoiceEvents
parameters:
- $ref: "#/parameters/requestID"
- $ref: "#/parameters/deadline"
- $ref: "#/parameters/invoiceID"
- name: limit
in: query
description: Selection limit
required: true
type: integer
format: int32
minimum: 1
- name: eventID
in: query
description: >
Event identifier.
All events that occurred in the system _after_ the specified event will be included in the selection.
required: false
2017-05-18 16:49:29 +00:00
type: integer
format: int32
responses:
"200":
description: A list of events
schema:
type: array
items:
$ref: "#/definitions/InvoiceEvent"
"404":
$ref: "#/responses/NotFound"
"401":
$ref: "#/responses/Unauthorized"
"400":
$ref: "#/responses/DefaultLogicError"