with Plainly and Supabase Management API?
Emit new event when a database backup is completed for a project. See the documentation
Emit new event when a video render job finishes successfully.
Emit new event when a video is created or uploaded in Plainly.
Creates a render job for a video template. See the documentation
Creates a new Supabase project within a specified organization. See the documentation
Retrieves the current status of a render job in Plainly. See the documentation
Generates TypeScript types based on the current database schema for a specified Supabase project. See the documentation
Fetches a list of available video templates in a project in the user's Plainly account. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
plainly: {
type: "app",
app: "plainly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.plainlyvideos.com/api/v2/projects`,
auth: {
username: `${this.plainly.$auth.api_key}`,
password: ``,
},
})
},
})
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`,
},
})
},
})