with npm and NinjaOne?
Emit new event with the latest count of downloads for an npm package. See the documentation
Emit new event when a new version of an npm package is published. See the documentation
Creates a new support ticket in NinjaOne. See the documentation
Update details for a specific device in NinjaOne. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ninjaone: {
type: "app",
app: "ninjaone",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.ninjaone.$auth.region}.ninjarmm.com/v2/users`,
headers: {
Authorization: `Bearer ${this.ninjaone.$auth.oauth_access_token}`,
},
})
},
})