Content and Experience Cloud ContentSDK: npm package

The 18.3.5 release of Content and Experience Cloud includes full support for the Delivery REST API. The REST API is documented. Next to the REST API is a lightweight JavaScript wrapper around this API released.

This wrapper is delivered as a minified JavaScript file as well as an NPM package. This package is not available in the usually public repositories. It can be obtained from every Content and Experience Cloud installation.

To install it execute the following command in a folder with your package.json:

npm install https://<yourhost>.oraclecloud.com/_sitesclouddelivery/renderer/app/sdk/npm/contentsdk-1.0.0.tgz

The location of the ContentSDK package as well as the version number might change in the future, for now this is probably the easiest way to get a hold of the ContentSDK.

The minified version of the ContentSDK can be found at:

https://<yourhost>.oraclecloud.com/_sitesclouddelivery/renderer/app/sdk/js/content.min.js

 

 

Add Your Comment