{"id":13667561,"url":"https://github.com/oracle/content-management-sdk","last_synced_at":"2025-10-05T12:43:31.853Z","repository":{"id":47600254,"uuid":"377360165","full_name":"oracle/content-management-sdk","owner":"oracle","description":"JavaScript package to make it easier to use content (digital assets, structured content) from Oracle Content Management","archived":false,"fork":false,"pushed_at":"2023-08-29T13:42:09.000Z","size":92,"stargazers_count":4,"open_issues_count":2,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-18T19:43:37.787Z","etag":null,"topics":["cms","headless-cms","javascript","nodejs","oracle-cloud","oracle-content-experience","oracle-content-management"],"latest_commit_sha":null,"homepage":"https://docs.oracle.com/en/cloud/paas/content-cloud/headless-cms.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"upl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oracle.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-06-16T03:31:02.000Z","updated_at":"2023-07-28T18:27:25.000Z","dependencies_parsed_at":"2024-01-17T04:18:23.454Z","dependency_job_id":null,"html_url":"https://github.com/oracle/content-management-sdk","commit_stats":{"total_commits":9,"total_committers":3,"mean_commits":3.0,"dds":0.2222222222222222,"last_synced_commit":"81570bd3b22840fdf6360ec8b5ecdb4bb467fa10"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/oracle/content-management-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle%2Fcontent-management-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle%2Fcontent-management-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle%2Fcontent-management-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle%2Fcontent-management-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oracle","download_url":"https://codeload.github.com/oracle/content-management-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle%2Fcontent-management-sdk/sbom","scorecard":{"id":711402,"data":{"date":"2025-08-11","repo":{"name":"github.com/oracle/content-management-sdk","commit":"84f5053cc1b9aff8e60d5dcf510551f68803c6c2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":1,"reason":"Found 2/11 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Universal Permissive License v1.0: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T08:17:49.221Z","repository_id":47600254,"created_at":"2025-08-22T08:17:49.221Z","updated_at":"2025-08-22T08:17:49.221Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278457486,"owners_count":25989954,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cms","headless-cms","javascript","nodejs","oracle-cloud","oracle-content-experience","oracle-content-management"],"created_at":"2024-08-02T07:00:40.540Z","updated_at":"2025-10-05T12:43:31.815Z","avatar_url":"https://github.com/oracle.png","language":"JavaScript","funding_links":[],"categories":["Awesome Oracle Content Management (OCM) [![Awesome](https://awesome.re/badge.svg)](https://awesome.re)"],"sub_categories":["Official Resources"],"readme":"# About Oracle Content Management - Content SDK (JavaScript)\n\nThe Content SDK for Oracle Content Management 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 Oracle Content Management. The SDK allows you to write a web application that is content rich - allowing the use of Oracle Content Management for content management, authoring and approval and delivery from your own web server.\n\nThe SDK consists of three main classes:\n\n- contentSDK: The main entry-point object. The contentSDK object lets you create client objects to access content based on your requirements.\n- ContentDeliveryClient : A client object that is set up to access published content items and digital assets.\n- ContentPreviewClient : A client object that is set up to access content types, draft content items, and draft digital assets.\n\n## Installation\n\nPrerequisite: node.js 10.9.0 or later, and node and npm on your path.\n\n```shell\nnpm install @oracle/content-management-sdk\n```\n\n## Documentation\n\n- [Developing for Oracle Content Management](https://docs.oracle.com/en/cloud/paas/content-cloud/developer/content-sdk.html)\n- [JS Doc](https://docs.oracle.com/en/cloud/paas/content-cloud/sdk-content-delivery/ContentSDK.html)\n\n### Examples\n\n\u003e NOTE: The SDK must be initialized with the URL of your content service.  The URL uses the pattern `https://\u003cservice-name\u003e-\u003caccount-name\u003e.cec.ocp.oraclecloud.com` and can be given to you by your Oracle Content Management service administrator.\n\n#### Using the SDK in NodeJS with ES6 import\n\n```javascript\n// Imports the contentSDK class. You could import the createDeliveryClient or createPreviewClient functions instead.\nimport { contentSDK }  from '@oracle/content-management-sdk';\n\nconst contentDeliveryClient = contentSDK.createDeliveryClient({\n  contentServer: 'https://\u003cservice-name\u003e-\u003caccount-name\u003e.cec.ocp.oraclecloud.com',\n  contentVersion: 'v1.1',\n  channelToken: '\u003ctoken\u003e', // Use your published channel token\n  logger: console,\n});\n\n// Perform a load of an asset\ncontentDeliveryClient.getItem(....);\n```\n\n#### Using the SDK in NodeJS with require\n\n```javascript\n// Imports the contentSDK class. You could import the createDeliveryClient or createPreviewClient functions instead.\nconst contentSDK = require('@oracle/content-management-sdk');\n\nconst contentDeliveryClient = contentSDK.createDeliveryClient({\n  contentServer: 'https://\u003cservice-name\u003e-\u003caccount-name\u003e.cec.ocp.oraclecloud.com',\n  contentVersion: 'v1.1',\n  channelToken: '\u003ctoken\u003e', // Use your published channel token\n  logger: console,\n});\n\n// Perform a load of an asset\ncontentDeliveryClient.getItem(....);\n```\n\n#### Using the SDK with import in an HTML page  \n\n```javascript\n\u003chtml\u003e  \n  \u003chead\u003e  \n    \u003cscript type=\"module\"\u003e\n      import {createDeliveryClient} from 'path_to_expanded_contentsdk_package/content.umd.js';\n      const client=createDeliveryClient({  \n        contentServer: 'https://\u003cservice-name\u003e-\u003caccount-name\u003e.cec.ocp.oraclecloud.com',  \n        contentVersion: 'v1.1',  \n        channelToken: '\u003ctoken\u003e',\n        logger: console,  \n      });  \n      client.getItem(....);\n    \u003c/script\u003e  \n  \u003c/head\u003e  \n  \u003cbody\u003e  \n  \u003c/body\u003e  \n\u003c/html\u003e  \n```\n\n#### Loading the SDK via a script tag\n\n```javascript\n\u003chtml\u003e\n  \u003chead\u003e\n      \u003ctitle\u003eUsing Content SDK\u003c/title\u003e\n      \u003cscript src=\"url_of_expanded_contentsdk_package/content.umd.js\"\u003e\u003c/script\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003cscript\u003e\n      const client = contentsdk.createDeliveryClient({\n        contentServer: 'https://\u003cservice-name\u003e-\u003caccount-name\u003e.cec.ocp.oraclecloud.com',\n        contentVersion: 'v1.1',\n        channelToken: '\u003ctoken\u003e',\n        logger: console,\n      });\n      client.getItem(....);\n    \u003c/script\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n#### Sample Projects\n\nFor more examples, check out our open source [sample projects](https://docs.oracle.com/en/cloud/paas/content-cloud/samples.html).\n\n## Contributing\n\nThis project welcomes contributions from the community. Before submitting a pull\nrequest, please [review our contribution guide](./CONTRIBUTING.md).\n\n## Security\n\nPlease consult the [security guide](./SECURITY.md) for our responsible security\nvulnerability disclosure process.\n\n## License\n\nCopyright (c) 2017, 2022, Oracle and/or its affiliates.\n\nReleased under the Universal Permissive License v1.0 as shown at\n\u003chttps://oss.oracle.com/licenses/upl/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle%2Fcontent-management-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foracle%2Fcontent-management-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle%2Fcontent-management-sdk/lists"}