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

List resource types on the Windmill Hub

Created by jaller94 817 days ago Viewed 9708 times
0
Submitted by jaller94 Deno
Verified 817 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