Module: controllers/feedController

The controller that exposes information about releases

Source:

Methods

getFeed(request, response)

The function that responds to GET /feed

Parameters:
Name Type Description
request Object

The HTTP request

response Object

The HTTP response

Source:

getRelease(request, response)

The function that responds to GET /releases/:version

Parameters:
Name Type Description
request Object

The HTTP request

response Object

The HTTP response

Source:

getReleases(request, response)

The function that responds to GET /releases

Parameters:
Name Type Description
request Object

The HTTP request

response Object

The HTTP response

Source:

(inner) create(releases, options) → {Object}

Parameters:
Name Type Description
releases Object

The object represented in the releases.json file

options Object

The command line options used to start mountebank

Source:
Returns:

The controller

Type
Object