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

Feature request: list all registries for agent #191

Open
lenkan opened this issue Feb 9, 2024 · 0 comments
Open

Feature request: list all registries for agent #191

lenkan opened this issue Feb 9, 2024 · 0 comments

Comments

@lenkan
Copy link
Collaborator

lenkan commented Feb 9, 2024

Currently, it is only possible to list registries for a particular AID. For some use cases it would be convenient to be able to list all registries for a particular agent.

Current behaviour:

GET /identifiers/{aid}/registries
=> Return all registries in agent that is owned by 'aid'

GET /identifiers/{aid}/registries/{regname}
=> Return registry 'regname' that is owned by 'aid'

Requested behaviour:

GET /registries
=> Return all registries in agent regardless of which aid is the owner

GET /registries?pre={aid name or prefix}
=> Return all registries in agent that is owned by 'aid'

GET /registries/{regname or registry key}
=> Return registry 'regname' regardless of which aid is the owner

Rationale

We want to have an overview of the registries that are controlled by a particular agent/wallet. Currently, the only way to do this is to iterate through all AIDs in the agent, then list all registries for each AID.

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