Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add state & variables to GetExhangeResponse. #428

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 19 additions & 14 deletions exchanges.yml
Original file line number Diff line number Diff line change
Expand Up @@ -386,20 +386,25 @@ components:
additionalProperties: false
description: Object containing information about an active exchange.
properties:
exchangeId:
type: string
description: The URL that uniquely identifies the exchange.
ttl:
type: string
description: The time to live for the exchange.
nextStep:
type: string
description: The interaction the exchange is expecting to happen next.
completedSteps:
type: array
description: The steps completed by the exchange previously.
items:
type: string
exchange:
type: object
description: The active exchange.
properties:
id:
type: string
description: The local exchange ID that identifies the exchange.
ttl:
type: string
description: The time to live for the exchange.
step:
type: string
description: The current step in the exchange.
state:
type: string
description: The status ("pending" | "complete" | "invalid") of the exchange, set to "pending" on creation.
variables:
type: object
description: Template variables to be used in the exchange.
WorkflowStep:
type: object
description: Object containing information about a workflow step.
Expand Down