Blog

All webhooks related to a site's blog are listed below

Blog Post Publish

A notification is sent when a blog post is published. A publish can be triggered inside the Duda editor.

{
  "data": {
    "title": "The Art of Playing Baseball",
    "republish": true,
    "first_publish": false
  },
  "source": {
    "type": "EDITOR",
    "account_name": "[email protected]"
   },
   "resource_data": {
    "site_name": "der45dtj3465tee"
   },
   "event_timestamp": 1567603977697,
   "event_type": "BLOG_POST_PUBLISH"
}

Name

Type

Description

data.title

string

The title of the blog post

data.republish

boolean

Boolean stating if this was a republish of an existing blog post

data.first_publish

boolean

Boolean stating if this was the first publish of a blog post

resource_data.site_name

string

The unique name of the site. Can be queried against the API endpoint GET /site to get more details about the site

resource_data.external_id

string

If set the external system identifier is provided. Can be queried against the API endpoint GET /byexternalid to get more details about the site

source.type

string

The location of the source for the publish event. Possible values are EDITOR

source.account_name

string

If a publish was triggered through the editor, then this contains the account who initiated the publish

event_type

string

Always set to BLOG_POST_PUBLISH for this webhook

Updated about a year ago

Blog


All webhooks related to a site's blog are listed below

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.