Node package manager
Emit new event with the latest count of downloads for an npm package. See the documentation.
Emit new event when a new version of an npm package is published. See the documentation
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}`,
},
})
},
})