Blog

Import blog post

Imports a single post into a site's existing blog. The post is added as a draft and needs to be published before it appears on the live site.

post/api/sites/multiscreen/{site_name}/blog/posts/import

Request

  • Base URL
    https://api.duda.co
  • URL
    https://api.duda.co/api/sites/multiscreen/{site_name}/blog/posts/import
  • Auth
    HTTP basic

Path parameters

site_namestring required

The site's unique name (its ID), returned when the site is created.

Request body

authorstring
contentstring
descriptionstring
layout_idstring

Id of the layout to place the post on, from the blog's layouts. Omitted: the blog's default layout.

titlestring

Response

OK

authorstring
contentstring
descriptionstring
idstring
layout_idstring

Id of the layout the post was placed on. Omitted when no layout_id was given.

titlestring

Changes

No recorded changes to this operation across all 1 revision of this API.