import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
documenterra: {
type: "app",
app: "documenterra",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.documenterra.$auth.portal_url}/api/v1/users`,
auth: {
username: `${this.documenterra.$auth.email}`,
password: `${this.documenterra.$auth.api_key}`,
},
})
},
})
Creates a new page. See the documentation
Creates a backup of a project. See the documentation
Exports an existing publication to a user-selected format. See the documentation
Documenterra uses API keys for authentication. When you connect your Documenterra account, Pipedream securely stores the keys so you can easily authenticate to Documenterra APIs in both code and no-code steps.