with Beanstalk and Planhat?
Emit new event when a new changeset is created. See the docs
Emit new event when a new repository is created. See the docs
Emit new event when selected flags trigger the webhook. See the docs
Creates a new code review. This action is essentially the same as clicking the “Request review” button in the app. See the docs
The Beanstalk API allows for streamlined version control and release management within your development workflow. By leveraging the API with Pipedream, you can automate interactions with your repositories, changesets, and deployment environments. You can create workflows that react to code commits, manage deploy environments, and integrate with other services for a more cohesive development lifecycle.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
beanstalkapp: {
type: "app",
app: "beanstalkapp",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.beanstalkapp.$auth.domain}.beanstalkapp.com/api/account.json`,
headers: {
"Content-Type": `applicaton/json`,
"User-Agent": `Pipedream (support@pipedream.com)`,
},
auth: {
username: `${this.beanstalkapp.$auth.username}`,
password: `${this.beanstalkapp.$auth.access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
planhat: {
type: "app",
app: "planhat",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.planhat.com/users`,
headers: {
Authorization: `Bearer ${this.planhat.$auth.api_key}`,
},
})
},
})