Content SDK

Content SDK

The Content SDK for Oracle Content and Experience Cloud is a light-weight JavaScript wrapper that interacts with the Content REST APIs. This is a read-only SDK for retrieving structured content, digital assets and content layouts that are managed in Oracle Content and Experience Cloud.

The Content SDK consists of three main modules:

  • ContentSDK: The main entry-point object. The ContentSDK object lets you create client objects to access content based on your requirements.
  • ContentDeliveryClient: A client object that is set up to access published content items and digital assets.
  • ContentPreviewClient: A client object that is set up to access content types, draft content items and digital assets.

The Content SDK is available for download from the Oracle Content and Experience Cloud server. There is an AMD module for use via RequireJS in the Browser and a CommonJS module for use in NodeJS server-side applications:

  • Browser: load via RequireJS - https://{server}/_sitesclouddelivery/renderer/app/sdk/js/content.min.js
  • Node: npm install - https://{server}/_sitesclouddelivery/renderer/app/sdk/npm/contentsdk-node-1.1.0.tgz