1
List Resource Types
One script reply has been approved by the moderators Verified

List resource types on the Windmill Hub

Created by jaller94 816 days ago Viewed 9665 times
0
Submitted by jaller94 Deno
Verified 816 days ago
1
// Should return {resources: [{…},…]}
2

3
export async function main() {
4
  const url = "https://hub.windmill.dev/searchResourceData";
5
  const response = await fetch(url);
6
  return await response.json();
7
}
8