with Acronis Cyber Protect Cloud and Twin?
Browse the internet with an AI web navigation agent that can find information for you. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
acronis_cyber_protect_cloud: {
type: "app",
app: "acronis_cyber_protect_cloud",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.acronis_cyber_protect_cloud.$auth.data_center_url}/api/2/clients/${this.acronis_cyber_protect_cloud.$auth.client_id}`,
headers: {
Authorization: `Bearer ${this.acronis_cyber_protect_cloud.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
twin: {
type: "app",
app: "twin",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.twin.so/tasks`,
headers: {
"x-api-key": `${this.twin.$auth.api_key}`,
},
})
},
})