with Rhombus and Formatting?
Emit new event when a new audit record for a specified event is created. See the documentation
Emit new event when a new button event is created. See the documentation
Emit new event when a new clip is created. See the documentation
Emit new event when a new door sensor event is created. See the documentation
Emit new event when a new environmental sensor event is created. See the documentation
Create a camera clip from video footage. See the documentation
Create custom activity seekpoints for a specified camera. See the documentation
Create a shared live video stream and get the URL to access it. See the documentation)
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rhombus: {
type: "app",
app: "rhombus",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api2.rhombussystems.com/api/org/getOrgV2`,
headers: {
"x-auth-apikey": `${this.rhombus.$auth.api_token}`,
"x-auth-scheme": `api-token`,
"content-type": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})