Interface: Pages

Pages

Fetches relevant info for pages for website from CMS.

Methods

<static> frontpage() → {Page}

/pages/frontpage

Fetches the front page of the site

See:
  • /pages/frontpage
Returns:

The frontpage object.

Type
Page

<static> frontpage() → {Page}

/v2/pages/frontpage

Fetches the front page of the site

See:
  • /v2/pages/frontpage
Returns:

The frontpage object.

Type
Page

<static> mus() → {Array.<Object>}

/pages/mus

Fetches list of objects with info for mus videos.

See:
  • /pages/mus
Returns:

Array of objects with relevant info.

Type
Array.<Object>

<static> mus() → {Array.<Object>}

/v2/pages/mus

Fetches list of objects with info for mus videos.

See:
  • /v2/pages/mus
Returns:

Array of objects with relevant info.

Type
Array.<Object>

<static> show(slug) → {Page}

/v2/pages/:slug

Fetches specific program from the given slug

Parameters:
Name Type Description
slug string

Slug for page

See:
  • /v2/pages/ledelse
Returns:

The relevant page object.

Type
Page

<static> show(slug) → {Page}

/pages/:slug

Fetches specific program from the given slug

Parameters:
Name Type Description
slug string

Slug for page

See:
  • /pages/ledelse
Returns:

The relevant page object.

Type
Page

Interface: Pages

Pages

Fetches relevant info for pages for website from CMS.

Methods

<static> frontpage() → {Page}

/pages/frontpage

Fetches the front page of the site

See:
  • /pages/frontpage
Returns:

The frontpage object.

Type
Page

<static> frontpage() → {Page}

/v2/pages/frontpage

Fetches the front page of the site

See:
  • /v2/pages/frontpage
Returns:

The frontpage object.

Type
Page

<static> mus() → {Array.<Object>}

/pages/mus

Fetches list of objects with info for mus videos.

See:
  • /pages/mus
Returns:

Array of objects with relevant info.

Type
Array.<Object>

<static> mus() → {Array.<Object>}

/v2/pages/mus

Fetches list of objects with info for mus videos.

See:
  • /v2/pages/mus
Returns:

Array of objects with relevant info.

Type
Array.<Object>

<static> show(slug) → {Page}

/v2/pages/:slug

Fetches specific program from the given slug

Parameters:
Name Type Description
slug string

Slug for page

See:
  • /v2/pages/ledelse
Returns:

The relevant page object.

Type
Page

<static> show(slug) → {Page}

/pages/:slug

Fetches specific program from the given slug

Parameters:
Name Type Description
slug string

Slug for page

See:
  • /pages/ledelse
Returns:

The relevant page object.

Type
Page