with Alteryx Analytics Cloud and LiveKit?
Emit new event for LiveKit room activities via webhook. See the documentation
Create a new ingress from url in LiveKit. See the documentation
Generate an access token for a participant to join a LiveKit room. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
alteryx_analytics_cloud: {
type: "app",
app: "alteryx_analytics_cloud",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.alteryx_analytics_cloud.$auth.region}.alteryxcloud.com/v4/people/current`,
headers: {
Authorization: `Bearer ${this.alteryx_analytics_cloud.$auth.oauth_access_token}`,
},
})
},
})
import { RoomServiceClient } from 'livekit-server-sdk';
export default defineComponent({
props: {
livekit: {
type: "app",
app: "livekit",
}
},
async run({steps, $}) {
const svc = new RoomServiceClient(
this.livekit.$auth.project_url,
this.livekit.$auth.api_key,
this.livekit.$auth.secret_key);
return await svc.listRooms();
},
})