with Domain Group and Ory?
Emit new event when an agency listing is updated. See the documentation
Emit new event when a new agency is created. See the documentation
Emit new event when a new agency listing is created. See the documentation
Creates a new business listing. See the documentation
Creates a new commercial listing. See the documentation
Creates a new residential listing. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
domain_group: {
type: "app",
app: "domain_group",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.domain_group.$auth.api_url}/v1/me`,
headers: {
Authorization: `Bearer ${this.domain_group.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ory: {
type: "app",
app: "ory",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.console.ory.sh/projects`,
headers: {
Authorization: `Bearer ${this.ory.$auth.workspace_api_key}`,
"Content-Type": `application/json`,
},
})
},
})