Skip to content
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

feat: vc api for the holder and the verifier #107

Merged
merged 12 commits into from
Jul 6, 2023

Conversation

namhoang1604
Copy link
Contributor

@namhoang1604 namhoang1604 commented Jun 22, 2023

What type of PR is this? (check all applicable)

  • πŸ• Feature
  • πŸ› Bug Fix
  • πŸ“ Documentation Update
  • 🎨 Style
  • πŸ§‘β€πŸ’» Code Refactor
  • πŸ”₯ Performance Improvements
  • βœ… Test
  • πŸ€– Build
  • πŸ” CI
  • πŸ“¦ Chore (Release)
  • ⏩ Revert

Description

  • Implement the vc-api for the holder and verifier.
  • Implement the open api validator for the vc api router
# API base path
- - $require: '@vckit/vc-api?t=function#HolderRouter'
- - $require: '@vckit/vc-api?t=function#IssuerRouter'
    $args:
      - createCredential: createVerifiableCredential
        updateCredentialStatus: updateVerifiableCredentialStatus
- - $require: '@vckit/vc-api?t=function#VerifierRouter'
    $args:
      - verifyCredential: verifyCredential
        verifyPresentation: verifyPresentation

# VC API docs path
- - /vc-api.json
  - $require: '@vckit/vc-api?t=function#VCApiSchemaRouter'
    $args:
      - basePath: :3332

- - /vc-api-docs
  - $require: '@vckit/vc-api?t=function#VCApiDocsRouter'

Related Tickets & Documents

#100
#92
#115

Mobile & Desktop Screenshots/Recordings

image image image

Added tests?

  • πŸ‘ yes
  • πŸ™… no, because they aren't needed
  • πŸ™‹ no, because I need help

Added to documentation?

  • πŸ“œ README.md
  • πŸ““ vc-kit doc site
  • πŸ“• storybook
  • πŸ™… no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

@namhoang1604 namhoang1604 changed the title Feat/vc api holder feat: vc api for the holder Jun 22, 2023
@arpentnoir
Copy link
Contributor

@namhoang1604 is this ready for review or still draft?

@namhoang1604
Copy link
Contributor Author

@namhoang1604 is this ready for review or still draft?

It's still in draft, I need to add the unit test and update the README

@namhoang1604 namhoang1604 self-assigned this Jun 26, 2023
Signed-off-by: Nam Hoang <[email protected]>
(cherry picked from commit 8615407)
…nted methods

Signed-off-by: Nam Hoang <[email protected]>
(cherry picked from commit 91475b7)
Signed-off-by: Nam Hoang <[email protected]>
(cherry picked from commit b410589)
Signed-off-by: Nam Hoang <[email protected]>
(cherry picked from commit 5e6de6e)
@namhoang1604 namhoang1604 marked this pull request as ready for review June 26, 2023 02:37
@namhoang1604 namhoang1604 changed the title feat: vc api for the holder feat: vc api for the holder and the verifier Jul 3, 2023
@namhoang1604 namhoang1604 removed the request for review from toannvit July 3, 2023 09:06
@namhoang1604 namhoang1604 merged commit 022fb56 into uncefact:next Jul 6, 2023
@namhoang1604 namhoang1604 deleted the feat/vc-api-holder branch August 7, 2023 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants