with GitLab and PagerDuty?
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 PagerDuty API offers a powerful interface to automate your digital operations management. By leveraging its capabilities on Pipedream, you can create workflows that respond to incidents, automate alerts, and synchronize incident data across various platforms. PagerDuty's API enables you to manage services, teams, and incidents, ensuring that your systems remain operational and that the right people are notified at the right time.
import { axios } from "@pipedream/platform" export default defineComponent({ props: { pagerduty: { type: "app", app: "pagerduty", } }, async run({steps, $}) { return await axios($, { url: `https://api.pagerduty.com/users/me`, headers: { Authorization: `Bearer ${this.pagerduty.$auth.oauth_access_token}`, "Accept": `application/vnd.pagerduty+json;version=2`, }, }) }, }) 