Skip to content

Commit

Permalink
feat: Add trust-registry revocation apis [DEV-4437] (#604)
Browse files Browse the repository at this point in the history
* feat: Add trust-registry revocation apis

* Add revocation tests

* Update swagger

* Disable jsonld tests

* fix tests

* Support credential status in issue

* package

* Revert "package"

This reverts commit c5db117.

* Update package-lock.json

* Fix typo

---------

Co-authored-by: Ankur Banerjee <[email protected]>
  • Loading branch information
DaevMithran and ankurdotb authored Oct 10, 2024
1 parent 36e5b94 commit e409321
Show file tree
Hide file tree
Showing 15 changed files with 961 additions and 62 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,21 @@ class App {
AccreditationController.verifyValidator,
new AccreditationController().verify
);
app.post(
'/trust-registry/accreditation/revoke',
AccreditationController.publishValidator,
new AccreditationController().revoke
);
app.post(
'/trust-registry/accreditation/suspend',
AccreditationController.publishValidator,
new AccreditationController().suspend
);
app.post(
'/trust-registry/accreditation/reinstate',
AccreditationController.publishValidator,
new AccreditationController().reinstate
);

// Resource API
app.post(
Expand Down
Loading

0 comments on commit e409321

Please sign in to comment.