Background Queue Access

It's come to my attention that my client would like to have the ability to review and retry queues on an external website to prevent unwanted access to the gadget dashboard. It doesn't seem those are exposed via an API. Is it possible to get access for my project?
3 Replies
Smelvin
Smelvin3w ago
We do not have an API for this unfortunately. You would have to build out your own functionality to achieve this.
webzer33
webzer33OP3w ago
What would be your first direction in accomplishing this? Building out a table that stores the queues and make them actionable that way somehow?
Smelvin
Smelvin3w ago
You would need a system to get all actions, data, queue name, ext. One way to handle this is to have a model that takes in all these field of all the queues, then for the queue you want you could pass the required fields for the queue (depending on its size as) a .json to the queue to "re-enque" it You could then pass the .json to the useEnqueue
I have docs for useEnqueue here https://docs.gadget.dev/reference/react#useenqueue

Did you find this page helpful?