From d0abbb769b73036a80e80a11894188ac5c076987 Mon Sep 17 00:00:00 2001 From: Ethan Sung Date: Fri, 17 Jul 2020 14:11:01 +0900 Subject: [PATCH 1/2] Correct revocation API in credential revocation documentation Signed-off-by: Ethan Sung --- docs/GettingStartedAriesDev/CredentialRevocation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/GettingStartedAriesDev/CredentialRevocation.md b/docs/GettingStartedAriesDev/CredentialRevocation.md index 368df7a273..2d877fb124 100644 --- a/docs/GettingStartedAriesDev/CredentialRevocation.md +++ b/docs/GettingStartedAriesDev/CredentialRevocation.md @@ -64,9 +64,9 @@ These are the ACA-py steps and APIs involved to support credential revocation. "credential_exchange_id": credential_exchange_id } ``` -0. Revoking credential +0. Revoking credential (cred_rev_id is revocation_id from /issue-credential​/records) ``` - POST /issue-credential/records/{cred_ex_id}/revoke + POST /issue-credential/revoke ``` 0. When asking for proof, specify the timespan when the credential is NOT revoked From bb4aabf4806e8b22dff1f737f9fed6fbf70d2d61 Mon Sep 17 00:00:00 2001 From: Ethan Sung Date: Mon, 20 Jul 2020 10:28:43 +0900 Subject: [PATCH 2/2] Add an example body for revoke POST request Signed-off-by: Ethan Sung --- docs/GettingStartedAriesDev/CredentialRevocation.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/GettingStartedAriesDev/CredentialRevocation.md b/docs/GettingStartedAriesDev/CredentialRevocation.md index 2d877fb124..86d923f259 100644 --- a/docs/GettingStartedAriesDev/CredentialRevocation.md +++ b/docs/GettingStartedAriesDev/CredentialRevocation.md @@ -64,9 +64,10 @@ These are the ACA-py steps and APIs involved to support credential revocation. "credential_exchange_id": credential_exchange_id } ``` -0. Revoking credential (cred_rev_id is revocation_id from /issue-credential​/records) +0. Revoking credential ``` - POST /issue-credential/revoke + POST /issue-credential/revoke?rev_reg_id= + &cred_rev_id=&publish= ``` 0. When asking for proof, specify the timespan when the credential is NOT revoked