GitLab is the most comprehensive AI-powered DevSecOps Platform.
Gitlab API allows developers to access the functionality of Gitlab. With the
Gitlab API, developers can integrate Gitlab with other applications, create
custom applications, or automate tasks.
Some examples of what you can build using the Gitlab API include:
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}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})