with Cincopa and Nextcloud?
Emit new event when a new asset is uploaded. See the documentation
Emit new event when a new gallery is created. See the documentation
Emit new event whenever a share is created in Nextcloud. See the documentation
Adds an asset or a list of assets to an existing gallery. See the documentation
Creates a new share link from the specified path in Nextcloud. See the documentation
Creates a new gallery, returning the new gallery FID (unique ID). See the documentation
Retrieves a list of shares based on the specified criteria in Nextcloud. 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}`,
},
})
},
})
Nextcloud's API lets you tap into your self-hosted cloud storage and collaboration platform. With Pipedream, you can automate tasks like file management, user account operations, and accessing calendar and contacts. It's a treasure trove for creating workflows that sync, share, and manage data programmatically between Nextcloud and other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nextcloud: {
type: "app",
app: "nextcloud",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.nextcloud.$auth.url}/ocs/v2.php/apps/files_sharing/api/v1/shares`,
headers: {
"OCS-APIRequest": `true`,
},
auth: {
username: `${this.nextcloud.$auth.username}`,
password: `${this.nextcloud.$auth.password}`,
},
})
},
})