Interface: Hosts

Hosts

Data on the radio's hosts from the CMS.

Methods

<static> index() → {Array.<ConciseHost>}

/hosts/

Get an array of objects presenting all hosts.

See:
  • /hosts/
Returns:

Array of ConciseHost objects

Type
Array.<ConciseHost>

<static> index() → {Array.<ConciseHost>}

/hosts/

Get an array of objects presenting all hosts.

See:
  • /hosts/
Returns:

Array of ConciseHost objects

Type
Array.<ConciseHost>

<static> show(slug) → {Host}

/stories/:slug

Get a specific host by the slug

Parameters:
Name Type Description
slug string

Slug for host

See:
  • /hosts/anders-christiansen
Returns:

Host object for the given slug

Type
Host

<static> show(slug) → {Host}

/stories/:slug

Get a specific host by the slug

Parameters:
Name Type Description
slug string

Slug for host

See:
  • /hosts/anders-christiansen
Returns:

Host object for the given slug

Type
Host

Interface: Hosts

Hosts

Data on the radio's hosts from the CMS.

Methods

<static> index() → {Array.<ConciseHost>}

/hosts/

Get an array of objects presenting all hosts.

See:
  • /hosts/
Returns:

Array of ConciseHost objects

Type
Array.<ConciseHost>

<static> index() → {Array.<ConciseHost>}

/hosts/

Get an array of objects presenting all hosts.

See:
  • /hosts/
Returns:

Array of ConciseHost objects

Type
Array.<ConciseHost>

<static> show(slug) → {Host}

/stories/:slug

Get a specific host by the slug

Parameters:
Name Type Description
slug string

Slug for host

See:
  • /hosts/anders-christiansen
Returns:

Host object for the given slug

Type
Host

<static> show(slug) → {Host}

/stories/:slug

Get a specific host by the slug

Parameters:
Name Type Description
slug string

Slug for host

See:
  • /hosts/anders-christiansen
Returns:

Host object for the given slug

Type
Host