with Power Automate and Claris FileMaker Server - Admin API?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
power_automate: {
type: "app",
app: "power_automate",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.flow.microsoft.com/providers/Microsoft.ProcessSimple/environments?api-version=2016-11-01`,
headers: {
Authorization: `Bearer ${this.power_automate.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
claris_filemaker_server_admin_api: {
type: "app",
app: "claris_filemaker_server_admin_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.claris_filemaker_server_admin_api.$auth.api_url}/fmi/admin/api/v2/databases`,
headers: {
Authorization: `Bearer ${this.claris_filemaker_server_admin_api.$auth.oauth_access_token}`,
},
})
},
})