with Have I Been Pwned and Supabase Management API?
Emit new event when a database backup is completed for a project. See the documentation
Creates a new Supabase project within a specified organization. See the documentation
Generates TypeScript types based on the current database schema for a specified Supabase project. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
have_i_been_pwned: {
type: "app",
app: "have_i_been_pwned",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://haveibeenpwned.com/api/v3/subscribeddomains`,
headers: {
"hibp-api-key": `${this.have_i_been_pwned.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
supabase_management_api: {
type: "app",
app: "supabase_management_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.supabase.com/v1/organizations`,
headers: {
Authorization: `Bearer ${this.supabase_management_api.$auth.oauth_access_token}`,
"Accept": `application/json`,
},
})
},
})