Is there any api to see the webhooks of an workspace?
I'm trying to fetch and store the url of my scripts and flows with a script and i'm looking for an API that contains that information but i can't find it.
4 Replies
you can check for each script/flow, if the tokens list is non-empty: https://app.windmill.dev/openapi.html#tag/script/GET/w/{workspace}/scripts/list_tokens/{path}
https://app.windmill.dev/openapi.html#tag/flow/GET/w/{workspace}/flows/list_tokens/{path}
Yes, I've found that api but for that I've to put the path and search individually in each script or flow.I was looking for an api that can give me that information for all the scripts and flow.Not if a give a path of a specific object
That doesn't exist, but we plan on automatically generating an OpenAPI spec from webhooks and http triggers
Thank you.I'll for that update