Interface: Stories

Stories

Data for stories brought by the radio.

Methods

<static> index(limit, p) → {Array.<Story>}

/v2/stories/

Get an array of Stories

Parameters:
Name Type Argument Default Description
limit int <optional>
12

number of elements to return

p int <optional>
1

start from this page number

See:
  • /v2/stories/
Returns:

Array of Stories

Type
Array.<Story>

<static> index(limit, page) → {Array.<Story>}

/stories/

Get an array of Stories

Parameters:
Name Type Argument Default Description
limit int <optional>
12

number of elements to return

page int <optional>
1

start from this page number

See:
  • /stories/
Returns:

Array of Stories

Type
Array.<Story>

<static> instantArticle() → {FbStory}

/v2/stories/:slug/fb

Get a specific Story as Instant Article

See:
  • /v2/stories/syge-danske-soldater-sendes-i-krig/fb
Returns:

Story instant article document for the given slug

Type
FbStory

<static> podcast()

/v2/stories/podcast/:videoPodcastId

Get stories for a podcast

See:
  • /v2/stories/podcast/27249347
Returns:

[Story] Story list for the given podcast

<static> show() → {Story}

/v2/stories/:slug

Get a specific Story

See:
  • /v2/stories/syge-danske-soldater-sendes-i-krig
Returns:

Story object for the given slug

Type
Story

<static> show() → {Story}

/stories/:slug

Get a specific Story

See:
  • /stories/syge-danske-soldater-sendes-i-krig
Returns:

Story object for the given slug, or response code 500 for unknown slug

Type
Story

Interface: Stories

Stories

Data for stories brought by the radio.

Methods

<static> index(limit, p) → {Array.<Story>}

/v2/stories/

Get an array of Stories

Parameters:
Name Type Argument Default Description
limit int <optional>
12

number of elements to return

p int <optional>
1

start from this page number

See:
  • /v2/stories/
Returns:

Array of Stories

Type
Array.<Story>

<static> index(limit, page) → {Array.<Story>}

/stories/

Get an array of Stories

Parameters:
Name Type Argument Default Description
limit int <optional>
12

number of elements to return

page int <optional>
1

start from this page number

See:
  • /stories/
Returns:

Array of Stories

Type
Array.<Story>

<static> instantArticle() → {FbStory}

/v2/stories/:slug/fb

Get a specific Story as Instant Article

See:
  • /v2/stories/syge-danske-soldater-sendes-i-krig/fb
Returns:

Story instant article document for the given slug

Type
FbStory

<static> podcast()

/v2/stories/podcast/:videoPodcastId

Get stories for a podcast

See:
  • /v2/stories/podcast/27249347
Returns:

[Story] Story list for the given podcast

<static> show() → {Story}

/v2/stories/:slug

Get a specific Story

See:
  • /v2/stories/syge-danske-soldater-sendes-i-krig
Returns:

Story object for the given slug

Type
Story

<static> show() → {Story}

/stories/:slug

Get a specific Story

See:
  • /stories/syge-danske-soldater-sendes-i-krig
Returns:

Story object for the given slug, or response code 500 for unknown slug

Type
Story