import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
_descript: {
type: "app",
app: "_descript",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://descriptapi.com/v1/published_projects/${this._descript.$auth.published_project_slug}`,
headers: {
Authorization: `Bearer ${this._descript.$auth.api_token}`,
},
})
},
})
Create an import URL for a published project. See the documentation
Get the metadata for a published project. See the documentation
Descript uses API keys for authentication. When you connect your Descript account, Pipedream securely stores the keys so you can easily authenticate to Descript APIs in both code and no-code steps.