with Octave and Docker Engine?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
octave: {
type: "app",
app: "octave",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.octavehq.com/api/v2/api-key/list`,
headers: {
"api_key": `${this.octave.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
docker_engine: {
type: "app",
app: "docker_engine",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.docker_engine.$auth.url}/v1.45/containers/json`,
headers: {
"X-Registry-Auth": `${this.docker_engine.$auth.registry_authorization}`,
},
})
},
})