with Greenhouse Job Board and Milvus?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
greenhouse_job_board_api: {
type: "app",
app: "greenhouse_job_board_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://boards-api.greenhouse.io/v1/boards/${this.greenhouse_job_board_api.$auth.board_token}/jobs`,
headers: {
"accept": `application/json`,
},
})
},
})
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,
})
},
})