with Typeflo and Tricentis qTest?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
typeflo: {
type: "app",
app: "typeflo",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.typeflo.$auth.api_url}/api/headless/content/posts`,
headers: {
Authorization: `Bearer ${this.typeflo.$auth.content_api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tricentis_qtest: {
type: "app",
app: "tricentis_qtest",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.tricentis_qtest.$auth.qtest_base_uri}/api/v3/re-evaluation`,
headers: {
Authorization: `Bearer ${this.tricentis_qtest.$auth.oauth_access_token}`,
},
params: {
includeInaccessibleApps: `false`,
},
})
},
})