with Dock Certs and Ollama?
Emit new event when a new credential is issued. See the documentation
The Dock Certs API provides a means for issuing verifiable credentials and decentralized identities, which are essential for managing digital proofs of various qualifications, memberships, or certifications. Using Pipedream's integration capabilities, you can automate the process of creating, revoking, and verifying these credentials. With Pipedream's serverless architecture, you can set up triggers and actions that respond to events in real-time, orchestrate data flow between Dock Certs and other services, and manage credentials with minimal manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dock_certs: {
type: "app",
app: "dock_certs",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.dock_certs.$auth.endpoint}.dock.io/profiles`,
headers: {
"DOCK-API-TOKEN": `${this.dock_certs.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ollama: {
type: "app",
app: "ollama",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.ollama.$auth.url}`,
})
},
})