with 302.AI and BuildKite?
Returns basic details about the user account that sent the request
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
_302_ai: {
type: "app",
app: "_302_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.302.ai/v1/models`,
headers: {
Authorization: `Bearer ${this._302_ai.$auth.api_key}`,
},
})
},
})
The BuildKite API is a powerhouse for automating your continuous integration and delivery (CI/CD) pipelines. With it, you can trigger builds, get information on agents and artifacts, and manage your organization's setup programmatically. Pipedream leverages this API to connect BuildKite with a myriad of other services, allowing for customized workflows that go beyond the standard CI/CD process. You can automate notifications, synchronize with project management tools, or even gather analytics to optimize your build processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
buildkite: {
type: "app",
app: "buildkite",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.buildkite.com/v2/user`,
headers: {
Authorization: `Bearer ${this.buildkite.$auth.api_token}`,
},
})
},
})