with Autodesk and ProProfs Knowledge Base?
Emit new event when a new version of a file is created in Autodesk. See the documentation
Emit new event when a folder is added to a specified folder in Autodesk. See the documentation
Emit new event when a new project is created in Autodesk. See the documentation
Creates a new folder in a project in Autodesk. See the documentation
Uploads a new file to a specified folder in Autodesk. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
autodesk: {
type: "app",
app: "autodesk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.userprofile.autodesk.com/userinfo`,
headers: {
Authorization: `Bearer ${this.autodesk.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
proprofs_knowledge_base: {
type: "app",
app: "proprofs_knowledge_base",
}
},
async run({steps, $}) {
const data = {
"action": `gettoc`,
"api_key": `${this.proprofs_knowledge_base.$auth.api_key}`,
"node_id": `0`,
"type": `all`,
}
return await axios($, {
method: "post",
url: `https://www.helpdocsonline.com/proprofsapi/v1/`,
data,
})
},
})