Skip to content

[DX-9678] .NET CMA SDK | Taxonomy publish, unpublish, unlocalize + term unlocalize - #214

Open
OMpawar-21 wants to merge 1 commit into
developmentfrom
feat/DX-9678-taxonomy-publish
Open

[DX-9678] .NET CMA SDK | Taxonomy publish, unpublish, unlocalize + term unlocalize#214
OMpawar-21 wants to merge 1 commit into
developmentfrom
feat/DX-9678-taxonomy-publish

Conversation

@OMpawar-21

Copy link
Copy Markdown
Contributor

Summary

  • Adds Taxonomy.Publish() / Unpublish()POST /taxonomies/publish|unpublish (collection-level, no uid)
  • Adds Taxonomy.Unlocalize()DELETE /taxonomies/{uid}?locale=... (Localize already existed)
  • Adds Term.Unlocalize()DELETE /taxonomies/{uid}/terms/{uid}?locale=... (Localize already existed)
  • New TaxonomyPublishDetails model with Items list; TaxonomyPublishService serializes body directly without field wrapper

Reference

Test plan

  • Unit tests: 46 pass (TaxonomyTest + TermTest in Contentstack.Management.Core.Unit.Tests)
  • Integration tests in Contentstack017_TaxonomyTest.cs — require live credentials to run

🤖 Generated with Claude Code

…ocalize

Adds six new methods to the .NET management SDK taxonomy/terms surfaces:
- Taxonomy.Publish() / Unpublish() — POST /taxonomies/publish|unpublish (collection-level)
- Taxonomy.Unlocalize() — DELETE /taxonomies/{uid}?locale=... (instance-level)
- Term.Unlocalize() — DELETE /taxonomies/{uid}/terms/{uid}?locale=...
- Taxonomy.Localize() / Term.Localize() already existed; Unlocalize completes the pair

New: TaxonomyPublishDetails model (with Items list), TaxonomyPublishService
(serializes body directly without field wrapper, unlike PublishUnpublishService).
All sync + async variants covered. 46 unit tests pass.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@OMpawar-21
OMpawar-21 requested a review from a team as a code owner August 4, 2026 06:50
@snyk-io

snyk-io Bot commented Aug 4, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant