-
Notifications
You must be signed in to change notification settings - Fork 49
Add /protocols endpoint to specific exchanges. #489
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1289,6 +1289,7 @@ <h4>Get Workflow Configuration</h4> | |
endpoint. This impacts the lifetime of challenges associated with such an exchange: if a | ||
challenge is bound to an exchange, that challenge ceases to be valid at the date referenced by the `expires` property of the exchange. | ||
</p> | ||
|
||
<section> | ||
<h4>Create Exchange</h4> | ||
<p> | ||
|
@@ -1298,6 +1299,15 @@ <h4>Create Exchange</h4> | |
data-api-endpoint="post /workflows/{localWorkflowId}/exchanges"></div> | ||
</section> | ||
|
||
<section> | ||
<h4>Get Exchange Protocols</h4> | ||
<p> | ||
</p> | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe we need to explain how There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Or link to the interaction section? This section should say that the returned object lists all of the protocols supported by the exchange -- and that an implementation may implement an interaction URL handler by proxying/internally fetching this endpoint and returning its result to the caller. We could use a mermaid style flowchart here to show an interaction URL being retrieved from a coordinator that internally looks up the associated exchange and fetches |
||
<div class="api-detail" | ||
data-api-endpoint="get /workflows/{localWorkflowId}/exchanges/{localExchangeId}/protocols"></div> | ||
</section> | ||
|
||
<section> | ||
<h4>Participate in an Exchange</h4> | ||
<p> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs a better description, @dlongley. I'm at a loss as to what to write.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that we've defined the interact URL, we should just point to that section in the spec and / or reuse language from it. The value for
interact
is an interaction URL: https://w3c-ccg.github.io/vc-api/#interaction-url-formatThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not arguing against @dlongley's suggestion, but this would be better than what's here.