with Docnify and V7 Go?
Add a recipient to an existing Docnify document. [See the documentation](See the documentation)
Create a new document in Docnify from a pre-existing template. See the documentation
Initiates the creation of a new project with a unique project identifier. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
docnify: {
type: "app",
app: "docnify",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.docnify.$auth.url}/api/v1/documents`,
headers: {
"Authorization": `${this.docnify.$auth.api_token}`,
},
params: {
page: `1`,
perPage: `1`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
v7_go: {
type: "app",
app: "v7_go",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://go.v7labs.com/api/workspaces/${this.v7_go.$auth.workspace_id}/members`,
headers: {
"X-API-KEY": `${this.v7_go.$auth.api_key}`,
},
})
},
})