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] Easier audits retrieval through FLIX API #35

Open
bartolomej opened this issue Dec 18, 2023 · 0 comments
Open

[FEATURE] Easier audits retrieval through FLIX API #35

bartolomej opened this issue Dec 18, 2023 · 0 comments

Comments

@bartolomej
Copy link

bartolomej commented Dec 18, 2023

Issue to be solved

FLIX API currently only supports retrieving auditors, but not their audits themselves. To do that, you'd need to set up FCL (or any other client lib) and query the blockchain (retrieve the FlowInteractionTemplateAudit.AuditManager resource in the auditor's storage) to obtain that info.

I think exposing that info through the FLIX API could make it easier for others to consume it. But advanced users could always retrieve it from the blockchain if they want to (e.g. don't trust the FLIX API instance).

Suggest A Solution

Either one (or both) of these options could work:

  • /auditors/:address/audits - retrieves a list of audits by auditors
  • /templates/:template_id/audits - retrieves a list of audits by specific template

What are you currently working on that this is blocking?

We are trying to display some basic FLIX audit info in Flowser, but I figured it might be beneficial to implement audit retrieval logic on the FLIX API side instead of in Flowser internally to benefit other users as well.

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