This repository has been archived by the owner on Apr 12, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Steve Burns
committed
Jun 19, 2019
0 parents
commit 365d55a
Showing
79 changed files
with
5,771 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Copyright (c) 2019 Oracle and/or its affiliates | ||
|
||
The Universal Permissive License (UPL), Version 1.0 | ||
|
||
Subject to the condition set forth below, permission is hereby granted to any | ||
person obtaining a copy of this software, associated documentation and/or data | ||
(collectively the "Software"), free of charge and under any and all copyright | ||
rights in the Software, and any and all patent rights owned or freely | ||
licensable by each licensor hereunder covering either (i) the unmodified | ||
Software as contributed to or provided by such licensor, or (ii) the Larger | ||
Works (as defined below), to deal in both | ||
|
||
(a) the Software, and | ||
(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if | ||
one is included with the Software (each a "Larger Work" to which the Software | ||
is contributed by such licensors), | ||
|
||
without restriction, including without limitation the rights to copy, create | ||
derivative works of, display, perform, and distribute the Software and make, | ||
use, sell, offer for sale, import, export, have made, and have sold the | ||
Software and the Larger Work(s), and to sublicense the foregoing rights on | ||
either these or other terms. | ||
|
||
This license is subject to the following condition: | ||
The above copyright notice and either this complete permission notice or at | ||
a minimum a reference to the UPL must be included in all copies or | ||
substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Content and Experience Cloud - Content JS SDK (Browser) | ||
The Content SDK for Oracle Content and Experience Cloud is a light-weight JavaScript wrapper that interacts with the Content REST APIs. This read-only SDK retrieves structured content, digital assets, and content layouts that are managed in Content and Experience Cloud. The Content SDK allows you to write a web application that is content rich - allowing the use of Content and Experience Cloud for a comprehensive Content management, authoring and approval, and delivering from your own web server. | ||
|
||
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 draft digital assets. | ||
|
||
The Content SDK for NodeJS provides a NodeJS runtime to support two samples, one for testing the Delivery client, and the other for the Preview client. The samples provide code examples of how to integrated Content from Content | ||
|
||
## Documentation | ||
Developing for Oracle Content and Experience Cloud | ||
[https://docs.oracle.com/en/cloud/paas/content-cloud/developer/content-sdk.html](https://docs.oracle.com/en/cloud/paas/content-cloud/developer/content-sdk.html) | ||
|
||
Content JS SDK - JS Doc | ||
[https://docs.oracle.com/en/cloud/paas/content-cloud/sdk-content-delivery/ContentSDK.html](https://docs.oracle.com/en/cloud/paas/content-cloud/sdk-content-delivery/ContentSDK.html) | ||
|
||
Administering Oracle Content and Experience Cloud | ||
[https://docs.oracle.com/en/cloud/paas/content-cloud/administer/use-rest-apis-sites-sdk-and-content-delivery-sdk.html](https://docs.oracle.com/en/cloud/paas/content-cloud/administer/use-rest-apis-sites-sdk-and-content-delivery-sdk.html) | ||
|
||
Integrating Oracle Content and Experience Cloud | ||
[https://docs.oracle.com/en/cloud/paas/content-cloud/solutions/use-rest-apis-sites-sdk-and-content-delivery-sdk.html](https://docs.oracle.com/en/cloud/paas/content-cloud/solutions/use-rest-apis-sites-sdk-and-content-delivery-sdk.html) | ||
|
||
## Installation | ||
Prerequisite: node.js 10.9.0 or later, and node and npm on your path. | ||
|
||
`npm install` | ||
|
||
## Start Local Server | ||
|
||
`npm start` | ||
|
||
## Run Samples | ||
The samples can be accessed from the browser using address: | ||
|
||
[http://localhost:7070](http://localhost:7070) |
Oops, something went wrong.