with Agility CMS and Aha?
Retrieve content models for the Agility instance. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
agility_cms: {
type: "app",
app: "agility_cms",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.agility_cms.$auth.api_url}/${this.agility_cms.$auth.guid}/${this.agility_cms.$auth.api_type}/contentmodels`,
headers: {
"APIKey": `${this.agility_cms.$auth.api_key}`,
},
})
},
})
The Aha API provides a gateway to Aha's product roadmapping software, enabling automated interactions with Aha's platform. With this API on Pipedream, you can create, read, update, and delete records within Aha, including features, ideas, and releases. This capability allows for streamlined project management workflows, efficient tracking of product development, and synchronization of data across various platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
aha: {
type: "app",
app: "aha",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.aha.$auth.subdomain}.aha.io/api/v1/me`,
headers: {
Authorization: `Bearer ${this.aha.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
"Accept": `application/json`,
},
})
},
})