with Ayrshare and Mintlify?
Create a new User Profile under your Primary Profile. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ayrshare: {
type: "app",
app: "ayrshare",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.ayrshare.com/api/user`,
headers: {
Authorization: `Bearer ${this.ayrshare.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mintlify: {
type: "app",
app: "mintlify",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mintlify.com/v1/project/update-status/{statusId}`,
headers: {
Authorization: `Bearer ${this.mintlify.$auth.admin_api_key}`,
},
})
},
})