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

Remove/Adapt old endpoints #2383

Closed
dbluhm opened this issue Jul 31, 2023 · 0 comments
Closed

Remove/Adapt old endpoints #2383

dbluhm opened this issue Jul 31, 2023 · 0 comments
Labels
AnonCreds Ledger Agnostic AnonCreds

Comments

@dbluhm
Copy link
Contributor

dbluhm commented Jul 31, 2023

The following endpoints will either be adapted to use the AnonCreds AnonCreds endpoints, or removed entirely. Adapted means that the calls will continue to work, but the functionality will be implemented by invoking the AnonCreds endpoints processing. Inputs and results may be adjust if absolutely necessary. Ideally, the endpoint will adjust the inputs, call the AnonCreds processing, and adjust the outputs.

The noted revocation related endpoints will be removed entirely. ACA-Py will handle revocation, and direct control by a controller will be removed.

Schemas
  • POST /schemas
  • GET /schemas/created
  • GET /schemas/{schema_id}
  • POST /schemas/{schema_id}/write_record
Credential Definitions
  • POST /credential-definitions
  • GET /credential-definitions/created
  • GET /credential-definitions/{cred_def_id}
  • POST /credential-definitions/{cred_def_id}/write_record
Revocation
  • GET /revocation/active-registry/{cred_def_id}
    • Not needed and may be removed.
  • POST /revocation/clear-pending-revocations
    • Error handling — not sure this is needed
  • REMOVE: POST /revocation/create-registry
  • GET /revocation/credential-record
  • POST /revocation/publish-revocations
  • GET /revocation/registries/created
    • Not needed — consider removing
  • DELETE /revocation/registry/delete-tails-file
    • Delete tails file will occur after the successful publishing of the tails file, as it is no longer needed. The call will remain but will do nothing.
  • GET /revocation/registry/{rev_reg_id}
    • Not needed — consider removing
  • PATCH revocation/registry/{rev_reg_id}
    • We’ll investigate if this endpoint is still needed.
  • REMOVE POST /revocation/registry/{rev_reg_id}/definition
  • REMOVE POST /revocation/registry/{rev_reg_id}/entry
  • PUT /revocation/registry/{rev_reg_id}/fix-revocation-entry-state
    • We’ll investigate if this endpoint is still needed.
  • GET /revocation/registry/{rev_reg_id}/issued
  • GET /revocation/registry/{rev_reg_id}/issued/details
  • GET /revocation/registry/{rev_reg_id}/issued/indy_recs
  • PATCH /revocation/registry/{rev_reg_id}/set-state
    • We’ll investigate if this endpoint is still needed.
  • REMOVE PUT /revocation/registry/{rev_reg_id}/tails-file
  • GET /revocation/reqistry/{rev_reg_id}/tails-file
  • POST /revocation/revoke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AnonCreds Ledger Agnostic AnonCreds
Projects
None yet
Development

No branches or pull requests

3 participants