with AppVeyor and Catch-all Verifier?
The AppVeyor API grants programmatic access to AppVeyor's continuous integration and deployment services, empowering developers to trigger builds, fetch build history, deploy applications, and manage projects and account settings. With Pipedream's serverless platform, you can craft custom workflows that react to AppVeyor events or manipulate AppVeyor's pipeline dynamically, streamlining your CI/CD process by interfacing with other tools in the software development lifecycle.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
appveyor: {
type: "app",
app: "appveyor",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://ci.appveyor.com/api/roles`,
headers: {
Authorization: `Bearer ${this.appveyor.$auth.bearer_token}`,
"Content-type": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
catch_all_verifier: {
type: "app",
app: "catch_all_verifier",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.catchallverifier.com/api/v1/verify/single`,
headers: {
"authorization": `${this.catch_all_verifier.$auth.api_key}`,
"accept": `application/json`,
},
params: {
id: `${this.catch_all_verifier.$auth.single_verification_id}`,
},
})
},
})