Ghost.org (Content API)

Open source publishing platform

Integrate the Ghost.org (Content API) API with the Bash API

Setup the Ghost.org (Content API) API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate Ghost.org (Content API) and Bash remarkably fast. Free for developers.

Run Bash Code with Bash API on New Author from Ghost.org (Content API) API
Ghost.org (Content API) + Bash
 
Try it
New Author from the Ghost.org (Content API) API

Emit new event for each new author added on a site.

 
Try it
Find author with the Ghost.org (Content API) API

Find an author. See the docs here.

 
Try it
Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it

Overview of Ghost.org (Content API)

The Ghost.org (Content API) unlocks the power of content automation and integration for developers and content creators. With this API, you can programmatically access and manipulate your blog's posts, tags, authors, and settings. It's perfect for streamlining content workflows, from syncing with other platforms to analyzing and optimizing your content strategy.

Connect Ghost.org (Content API)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    ghost_org_content_api: {
      type: "app",
      app: "ghost_org_content_api",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.ghost_org_content_api.$auth.admin_domain}/ghost/api/v3/content/posts/`,
      params: {
        key: `${this.ghost_org_content_api.$auth.content_api_key}`,
      },
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS