seahaven-ap/packages/api/openapi/paths/inbox.yaml

25 lines
645 B
YAML
Raw Normal View History

get:
tags: [Approvals]
summary: List the caller approval inbox
description: Returns pending steps visible to the caller.
operationId: get-api-inbox
responses:
"200":
description: Inbox items.
content:
application/json:
schema:
type: object
required: [items]
properties:
items:
type: array
items:
$ref: ../components/schemas.yaml#/ApprovalStep
"401":
description: Missing session.
content:
application/json:
schema:
$ref: ../components/schemas.yaml#/Error