with BurstyAI and Mural?
Create a new mural within a specified workspace. See the documentation
Create a new sticky note within a given mural. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
burstyai: {
type: "app",
app: "burstyai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.burstyai.com/burstyai/storage/url`,
headers: {
Authorization: `Bearer ${this.burstyai.$auth.api_key}`,
"accept": `application/json`,
},
params: {
fileList: `xxx/yyy.jpg`, //Comma-separated s3 object IDs used to fetch corresponding download URLs,
//e.g. for a s3 object ID as @url{xxx/yyy.jpg}@, the parameter value shall
//be xxx/yyy.jpg only, excluding @url{}@ is a must.
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mural: {
type: "app",
app: "mural",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.mural.co/api/public/v1/users/me`,
headers: {
Authorization: `Bearer ${this.mural.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})