From 0559b576c2d3f21784807c01b8664ed97bc4658b Mon Sep 17 00:00:00 2001 From: Stephen Curran Date: Tue, 10 Sep 2019 17:34:43 +0000 Subject: [PATCH] Fixes #174 Adds document about credential_id is same as referent Signed-off-by: Stephen Curran --- demo/AriesOpenAPIDemo.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/demo/AriesOpenAPIDemo.md b/demo/AriesOpenAPIDemo.md index 1039ee27e5..0f07177707 100644 --- a/demo/AriesOpenAPIDemo.md +++ b/demo/AriesOpenAPIDemo.md @@ -10,24 +10,24 @@ This demo is for developers comfortable with playing around with APIs using the # Table of Contents -- [Running in a Browser](#Running-in-a-Browser) -- [Running in Docker](#Running-in-Docker) - - [Starting Up](#Starting-Up) - - [Start the VON Network](#Start-the-VON-Network) - - [Running the Faber Agent](#Running-the-Faber-Agent) - - [Running Alice’s Agent](#Running-Alices-Agent) - - [Restarting the Docker Containers](#Restarting-the-Docker-Containers) -- [Using the Swagger User Interface](#Using-the-Swagger-User-Interface) -- [Establishing a Connection](#Establishing-a-Connection) - - [Notes](#Notes) -- [Preparing to Issue a Credential](#Preparing-to-Issue-a-Credential) - - [Notes](#Notes-1) -- [Issuing a Credential](#Issuing-a-Credential) - - [Notes](#Notes-2) - - [Bonus Points](#Bonus-Points) -- [Requesting/Presenting a Proof](#RequestingPresenting-a-Proof) - - [Notes](#Notes-3) -- [Conclusion](#Conclusion) +- [Running in a Browser](#running-in-a-browser) +- [Running in Docker](#running-in-docker) + - [Starting Up](#starting-up) + - [Start the VON Network](#start-the-von-network) + - [Running the Faber Agent](#running-the-faber-agent) + - [Running Alice’s Agent](#running-alices-agent) + - [Restarting the Docker Containers](#restarting-the-docker-containers) +- [Using the Swagger User Interface](#using-the-swagger-user-interface) +- [Establishing a Connection](#establishing-a-connection) + - [Notes](#notes) +- [Preparing to Issue a Credential](#preparing-to-issue-a-credential) + - [Notes](#notes-1) +- [Issuing a Credential](#issuing-a-credential) + - [Notes](#notes-2) + - [Bonus Points](#bonus-points) +- [Requesting/Presenting a Proof](#requestingpresenting-a-proof) + - [Notes](#notes-3) +- [Conclusion](#conclusion) ## Running in a Browser @@ -195,7 +195,7 @@ Ok, finally, you are ready to click `Execute`. The request should work, but if i To confirm the issuance worked, scroll up to the top of the `v1.0 issue-credential exchange` section and execute the **`GET /issue-credential/records`** endpoint. You should see a lot of information about the exchange, including the state - `stored`. -Let’s look at it from Alice’s side. Switch to the Alice’s agent browser tab, find the `credentials` section and within that, execute the **`GET /credentials`** endpoint. There should be a list of credentials held by Alice, with just a single entry, the credential issued from the Faber agent. +Let’s look at it from Alice’s side. Switch to the Alice’s agent browser tab, find the `credentials` section and within that, execute the **`GET /credentials`** endpoint. There should be a list of credentials held by Alice, with just a single entry, the credential issued from the Faber agent. Note that the element `referent` is the value of the `credential_id` element used in other calls. `referent` is the name returned in the `indy-sdk` call to get the set of credentials for the wallet and ACA-Py code is not changing it in the response. You’ve done it, issued a credential! W00t!