with Cincopa and Sessions?
Emit new event when a session ends. Useful for data processing initiation. See the documentation
Emit new an event when a session starts. See the documentation
Emit new event when a new asset is uploaded. See the documentation
Emit new event when a new gallery is created. See the documentation
Adds an asset or a list of assets to an existing gallery. See the documentation
Creates a new gallery, returning the new gallery FID (unique ID). See the documentation
Upload an asset from an input URL to a Cincopa gallery. See the documentation
The Cincopa API enables users to elevate their media content management by automating tasks and integrating with other services. With Cincopa, you can manipulate galleries, upload media, extract analytics, and manage your media assets in a programmatic way. When paired with Pipedream, this API becomes a powerhouse for creating seamless workflows that boost productivity and enhance content delivery, offering a rich set of triggers and actions to automate media operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cincopa: {
type: "app",
app: "cincopa",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.cincopa.com/v2/ping.json`,
params: {
api_token: `${this.cincopa.$auth.api_token}`,
},
})
},
})
The Sessions API enables developers to handle real-time data streams and manage user sessions effectively. With Pipedream's power to integrate various services, the Sessions API can be the backbone of workflows that require managing user states across events. You can track user activities, tailor user experiences based on session data, or even trigger specific actions when certain session events occur.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sessions: {
type: "app",
app: "sessions",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.app.sessions.us/api/booking-pages`,
headers: {
"x-api-key": `${this.sessions.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})