import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
easy_redmine: {
type: "app",
app: "easy_redmine",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.easy_redmine.$auth.api_url}/users.json`,
headers: {
"x-redmine-api-key": `${this.easy_redmine.$auth.api_access_key}`,
},
})
},
})
Easy Redmine uses API keys for authentication. When you connect your Easy Redmine account, Pipedream securely stores the keys so you can easily authenticate to Easy Redmine APIs in both code and no-code steps.