X

Best Practices from Oracle Development's A‑Team

Content and Experience Cloud ContentSDK: npm package

Dolf Dijkstra
Cloud Solutions Architect

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

 

 

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha