import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
launchnotes: {
type: "app",
app: "launchnotes",
}
},
async run({steps, $}) {
const data = {
"query": `query { viewer { id email name }}`,
}
return await axios($, {
method: "post",
url: `https://app.launchnotes.io/graphql`,
headers: {
Authorization: `Bearer ${this.launchnotes.$auth.api_key}`,
},
data,
})
},
})
Emit new event when an announcement is published.
Emit new event when an announcement is scheduled.
Emit new event when a new project subscription is created.
Generates a draft announcement for the LaunchNotes project. See the documentation
Adds a new subscriber to the current LaunchNotes project. See the documentation
LaunchNotes uses API keys for authentication. When you connect your LaunchNotes account, Pipedream securely stores the keys so you can easily authenticate to LaunchNotes APIs in both code and no-code steps.