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

Restrict identifier APIs to only using prefixes #308

Open
iFergal opened this issue Oct 16, 2024 · 0 comments
Open

Restrict identifier APIs to only using prefixes #308

iFergal opened this issue Oct 16, 2024 · 0 comments

Comments

@iFergal
Copy link
Collaborator

iFergal commented Oct 16, 2024

Identifier resources in KERIA can now be referenced by either alias (like before) or prefix, like so: hab = agent.hby.habs[name] if name in agent.hby.habs else agent.hby.habByName(name)

It would be cleaner and more intuitive to move to only supporting a prefix, especially since the alias can be renamed. As pointed out by @lenkan using PUT /identifier/name1 to update that resource to now be available at /identifier/name2 is unintuitive.

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

No branches or pull requests

1 participant