Core Credential API #319
Replies: 8 comments 8 replies
-
I see 2 problems
|
Beta Was this translation helpful? Give feedback.
-
Can one of you paste the W3C APIs link here? Agree @dileepbapat that credential enumeration may not be appropriate. Also, issuance and update of credentials are needed. Maybe same API or separate APIs. |
Beta Was this translation helpful? Give feedback.
-
Following are the recommendations to have cleaner APIs for Credentials. Separation of Schema/Template from Credentials Schema APIs GET - /credential-schema/:id POST - /credential-schema PUT - /credential-schema/:id Rendering Template APIs GET /rendering-template/:id POST /rendering-template PUT /rendering-template W3C based Credential APIs POST - /credentials/issue The credentialSchema is verified before creating a credential. This is done to allow a certain type of credentials to be issued through a service. If the field is null, a credential issuance request should be rejected. (This can be config based at a tenant) POST - /credentials/verify GET - /credentials/getById POST - /credentials Finding credentials by issuer and by subject should be supported by RC, even though it is not available in W3C. For that purpose API is changed to POST API. POST /credentials/render |
Beta Was this translation helpful? Give feedback.
-
We had an internal call to discuss the above recommendations and below are the action items for the same:
|
Beta Was this translation helpful? Give feedback.
-
@ChakshuGautam |
Beta Was this translation helpful? Give feedback.
-
How does search work especially how does the consent of the credential holder is handled? Second question, how does different type of credentials work with these same APIs? I am a bit confused. Maybe @tejash-jl can walk me through this sometime next week? @surendrasinghs please help coordinate. Thanks. |
Beta Was this translation helpful? Give feedback.
-
We had a quick discussion and review of this today with a few community members. Requesting your review comments @amarts @girirajdaga @sankarshanmukhopadhyay @dileepbapat @vrayulu @coolbung @smohan-dw @rahul101001000 Here's the recording. Use passcode: *iR3zyH& Below are the links for credential schema and issuance APIs that were reviewed today |
Beta Was this translation helpful? Give feedback.
-
Thanks @surendrasinghs! Few suggestions @tejash-jl @ChakshuGautam on sunbirdrc-sandbox.xiv.in/schema-api.html
Thanks! Regards |
Beta Was this translation helpful? Give feedback.
-
Example Use Cases
Specific Priority Use Cases
Programmatic issuance (at scale): The state education department has digitally verified data of students enrolled in government schools across the state. The state wants to programmatically issue enrolment credentials to all the digitally verified students so that the students can view these credentials and be able to share them through the digital wallet provided by the state education department
Issuance (at scale): Sharmila, principal of a private school wants to issue an enrolment credential to Meghna using the enrolment credential template provided by the state education department. After generating the enrolment credential Meghna can view the enrolment credential in the wallet provided by the state education department
Verifiable presentation (for pilot): Mohan, a grade 12 student wants to apply online to a private coaching centre and when he starts his application he gets an option to 'Apply via Wallet'. Mohan chooses this option and then provides consent to the coaching centre to view the necessary details from his set of credentials stored in his digital wallet provided by the state education department.
Suggested Solution
Example W3C VC APIs VC-API
Beta Was this translation helpful? Give feedback.
All reactions