vc-api icon indicating copy to clipboard operation
vc-api copied to clipboard

Add `<fullExchangeId>/protocols` endpoint that serves interaction "protocols" object

Open dlongley opened this issue 1 year ago • 4 comments

Performing an HTTP GET on an exchange URL + /protocols should return a "protocols" object with the supported protocols for interacting with that exchange. For example:

GET /workflows/abc/exchanges/123/protocols

{
  "protocols": {
    "vcapi": "https://vcapi.example/workflows/abc/exchanges/123",
    "OID4VCI": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fvcapi.example%2Fworkflows%2Fabc%2Fexchanges%2F123%2Fopenid%2Fcredential-offer"
  }
}

dlongley avatar Sep 13 '24 18:09 dlongley