with GitLab and Sentry?
Return a list of events bound to a project. See the docs here
Return a list of issues bound to a project. See the docs here
The GitLab API provides programmatic access to your GitLab projects, allowing you to automate common tasks, manage issues, merge requests, and more. With the GitLab API on Pipedream, you can create customized workflows that integrate with other services, streamline your development process, and enhance project management. By leveraging the power of serverless, you can set up triggers for GitLab events and perform actions across a variety of apps without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gitlab: {
type: "app",
app: "gitlab",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.gitlab.$auth.base_api_url}/api/v4/user`,
headers: {
Authorization: `Bearer ${this.gitlab.$auth.oauth_access_token}`,
},
})
},
})
The Sentry API on Pipedream allows you to automate error tracking and responses in your applications. Sentry's robust issue tracking and release monitoring align with Pipedream's ability to craft custom workflows, enabling developers to connect error alerts to a plethora of other services for notifications, analysis, task management, and more. With Sentry's detailed diagnostic data, these workflows can help reduce downtime by triggering quick actions upon issue detection.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sentry: {
type: "app",
app: "sentry",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://sentry.io/api/0/`,
headers: {
Authorization: `Bearer ${this.sentry.$auth.auth_token}`,
},
})
},
})