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
Emit new event when a new asset is created in ContentStack.
Emit new event when a new entry is created in ContentStack.
Emit new event when an entry is published in ContentStack.
Publishes a specific entry using its UID. See the documentation
Updates an existing Contentstack entry. See the documentation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
contentstack: {
type: "app",
app: "contentstack",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.contentstack.$auth.region}api.contentstack.io/v3/content_types`,
headers: {
"api_key": `${this.contentstack.$auth.stack_api_key}`,
"authorization": `${this.contentstack.$auth.management_token}`,
"content-type": `application/json`,
},
})
},
})