with Supabase Management API and Offorte?
Emit new event when a database backup is completed for a project. See the documentation
Emit new event when an event is created. See the documentation
Creates a new Supabase project within a specified organization. See the documentation
Create a new contact organisation in Offorte. See the documentation
Generates TypeScript types based on the current database schema for a specified Supabase project. See the documentation
Create a new contact person in Offorte. See the documentation
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`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
offorte: {
type: "app",
app: "offorte",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://connect.offorte.com/api/v2/${this.offorte.$auth.account_name}/hello`,
headers: {
"authorization": `${this.offorte.$auth.api_key}`,
},
})
},
})