with Polymer.co and Docker Engine?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
polymer_co: {
type: "app",
app: "polymer_co",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.polymer.co/v1/hire/organizations/${this.polymer_co.$auth.org_slug}/jobs`,
headers: {
"content-type": `application/json`,
},
})
},
})
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}`,
},
})
},
})