Class: Story

Story

new Story() → {Story}

Construct a new Story for API

Properties:
Name Type Description
id int

unique id

title string

story's title

slug string

story's url slug ('{title.kebabcase}')

intro string

story's intro

sticky bool

whether or not this is an important story

videoPodcastId int

id of related podcast

tags array

strings that are used as tags

publishInfo object

story's relevant info

Properties
Name Type Description
published bool

whether or not the story is published

type string

story's type

authors object

story's authors

createdAt date

story's creation date

updatedAt date

story's date of modification

descriptionHtml string

html formatted description

Version:
  • 2.0
Returns:
Type
Story

Class: Story

Story

new Story() → {Story}

Construct a new Story for API

Properties:
Name Type Description
id int

unique id

title string

story's title

slug string

story's url slug ('{title.kebabcase}')

intro string

story's intro

sticky bool

whether or not this is an important story

videoPodcastId int

id of related podcast

tags array

strings that are used as tags

publishInfo object

story's relevant info

Properties
Name Type Description
published bool

whether or not the story is published

type string

story's type

authors object

story's authors

createdAt date

story's creation date

updatedAt date

story's date of modification

descriptionHtml string

html formatted description

To Do:
  • Implement Wordpress JSON-api for stories.
Returns:
Type
Story