with Agility CMS and T2M URL Shortener?
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 T2M URL Shortener API lets you shorten URLs, manage them, and track analytics within Pipedream's automated workflows. By integrating with Pipedream, you can create shortened URLs on the fly, update them, and get click data without manual intervention. This capability is especially useful for marketing, content distribution, and social media management, where streamlined URL management can be seamlessly embedded into broader automated tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
t2m_url_shortener: {
type: "app",
app: "t2m_url_shortener",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://t2mio.com/api/v1/urls`,
headers: {
"apikey": `${this.t2m_url_shortener.$auth.api_key}`,
"apisecret": `${this.t2m_url_shortener.$auth.api_secret}`,
},
})
},
})