RESTful web API that enables you to access Microsoft Cloud service resources. For daemon applications, it uses the standard OAuth 2.0 client credentials grant.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_graph_api_daemon_app: {
type: "app",
app: "microsoft_graph_api_daemon_app",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/users`,
headers: {
Authorization: `Bearer ${this.microsoft_graph_api_daemon_app.$auth.oauth_access_token}`,
},
})
},
})
The Azure DevOps API opens up a world of possibilities for automating and enhancing your software development workflows. Through Pipedream, you can leverage this API to create custom integrations and serverless workflows that interact with your Azure DevOps projects. Automate tasks such as triggering builds, managing work items, updating repositories, and orchestrating multi-step processes that connect Azure DevOps with other services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
azure_devops: {
type: "app",
app: "azure_devops",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.vssps.visualstudio.com/_apis/profile/profiles/Me`,
headers: {
Authorization: `Bearer ${this.azure_devops.$auth.oauth_access_token}`,
},
params: {
"api-version": `5.0`,
},
})
},
})