with Milvus and Svix?
Emit new event when an event is received for an application
Creates a new message and dispatches it to all of the application's endpoints. See the docs here
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
milvus: {
type: "app",
app: "milvus",
}
},
async run({steps, $}) {
const data = {}
return await axios($, {
method: "post",
url: `${this.milvus.$auth.endpoint}/v2/vectordb/collections/list`,
headers: {
Authorization: `Bearer ${this.milvus.$auth.api_token}`,
"content-type": `application/json`,
"accept": `application/json`,
},
data,
})
},
})
The Svix API enables developers to manage and automate webhooks with ease. By integrating with Pipedream, you can leverage serverless workflows to react to incoming webhooks, manage webhook endpoints, and send out messages to subscribed endpoints. Whether you're seeking to enhance your application's notifications system or streamline event-driven integrations, Svix's API, when combined with Pipedream's capabilities, provides a robust platform for automating and scaling your webhook infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
svix: {
type: "app",
app: "svix",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.svix.com/api/v1/app/`,
headers: {
Authorization: `Bearer ${this.svix.$auth.api_key}`,
"Accept": `application/json`,
"Content-Type": `application/json`,
},
})
},
})