seahaven-ap/packages/api/openapi/paths/invoices-id-activity-logs.yaml

45 lines
1.1 KiB
YAML

parameters:
- name: id
in: path
required: true
description: Invoice primary key.
schema:
type: string
format: uuid
example: 88888888-8888-4888-8888-888888888888
get:
tags: [Approvals]
summary: List invoice activity
description: Returns activity log rows for one invoice.
operationId: get-api-invoices-id-activity-logs
responses:
"200":
description: Activity list.
content:
application/json:
schema:
type: object
required: [items]
properties:
items:
type: array
items:
$ref: ../components/schemas.yaml#/ActivityLog
"400":
description: Invalid id.
content:
application/json:
schema:
$ref: ../components/schemas.yaml#/Error
"401":
description: Missing session.
content:
application/json:
schema:
$ref: ../components/schemas.yaml#/Error
"404":
description: Invoice not found.
content:
application/json:
schema:
$ref: ../components/schemas.yaml#/Error