The HTTP Source is used to pull content over HTTP.

Multiple endpoints can be specified and the source will combine and transform the response from each into a single collection of pages.

yarn add @jpmorganchase/mosaic-source-http

PropertyDescriptionRequired
modulePathThe path to the installed module (@jpmorganchase/mosaic-source-http)Yes
namespaceThe scope for this sourceYes
disabledWhen true, content from this source is not usedNo
options.endpointsCollection of URLS to make requestsYes
options.prefixDirThe root path used in the content URLYes
options.transformResponseToPagesModulePathThe path of the module used to transform endpoint responses into Mosaic pagesYes
options.checkIntervalMinsNumber of minutes to wait between requests. Defaults to 5 minutesNo
options.initialDelayMsNumber of milliseconds to wait for making initial request. Defaults to 1000No
Mosaic BETA

Coming soon