with GitLab and ImageKit.io?
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}`,
},
})
},
})
ImageKit.io API lets you manage, optimize, and deliver images dynamically for your web applications. On Pipedream, you can integrate this API to construct serverless workflows that automate your image operations and connect with other services. You can upload images from various sources, apply real-time transformations, and track media assets without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
imagekit_io: {
type: "app",
app: "imagekit_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.imagekit.io/v1/files`,
auth: {
username: `${this.imagekit_io.$auth.private_key}`,
password: ``,
},
})
},
})