Dispatch is your partner in on-demand delivery. Focus on growing your business and let us help you Deliver More*
Emit new event when a (classic) project card is created or moved to a specific column. For Projects V2 use New Issue with Status
trigger. More information here
Emit new events when collaborators are added to a repo
Find issues and pull requests by state and keyword. See docs here
Create or update a file in a repository. This will replace an existing file. See docs here
With the Dispatch API you can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dispatch: {
type: "app",
app: "dispatch",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.dispatchit.com/api/external/v1/organizations`,
headers: {
"Accept": `*/*`,
"Content-Type": `application/json`,
},
auth: {
username: `${this.dispatch.$auth.api_key}`,
password: `${this.dispatch.$auth.api_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
github: {
type: "app",
app: "github",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.github.com/user`,
headers: {
Authorization: `Bearer ${this.github.$auth.oauth_access_token}`,
"X-GitHub-Api-Version": `2022-11-28`,
},
})
},
})