| name | contentstack-java-cma-sdk |
|---|---|
| description | Use when changing the Management SDK surface—Contentstack entry, Stack, auth, or CMA integration boundaries. |
- You add or change public methods on
Contentstack,Stack, organization, user, or other API-facing types undercom.contentstack.cms. - You need to document how integrators authenticate (authtoken, management token, OAuth, login).
- You are deciding what belongs in this SDK vs the Delivery API or other Contentstack clients.
- This library targets the Content Management API (CMA). It is not the recommended way to deliver content to websites or apps at scale; the README directs readers to the Content Delivery API for that.
- The main entry point is
Contentstack: builders set host, tokens, timeouts, proxy, OAuth, and retry behavior before obtainingStack,User,Organization, etc.
- Treat additions to public classes as semver-sensitive: new optional builder methods are easier to ship than breaking signature changes.
- Errors and responses should stay consistent with existing patterns (
retrofit2.Response, model types undercom.contentstack.cms.models, etc.). - Document behavior in Javadoc where integrators rely on contracts (auth order, token precedence, branch/early-access headers).
- Artifact coordinates:
com.contentstack.sdk:cms— version in rootpom.xml. Follow org release process for bumping version and tagging.