weegloo-cma-json-patch

Guides HTTP PATCH with RFC 6902 JSON Patch for Weegloo CMA and ACMA document updates.

1|2|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/weeglooapi/weegloo-mcp-plugin --skill weegloo-cma-json-patch-weeglooapi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: weegloo-cma-json-patch
Source: https://github.com/weeglooapi/weegloo-mcp-plugin/tree/main/plugins/weegloo/skills/weegloo-cma-json-patch
Command: npx skills add https://github.com/weeglooapi/weegloo-mcp-plugin --skill weegloo-cma-json-patch-weeglooapi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Updating Weegloo documents over the CMA and ACMA REST APIs often means choosing between PUT and PATCH, and sending full resource bodies when only a few fields changed wastes bandwidth and risks overwriting unrelated data. This Skill provides clear guidance on when and how to use HTTP PATCH with RFC 6902 JSON Patch for smaller, safer partial updates. ## Core Features & Use Cases - PATCH-first update strategy: Default to HTTP PATCH with JSON Patch operations (add, remove, replace, move, copy, test) so only the changed paths are transmitted. - Correct protocol usage: Enforces the mandatory Content-Type: application/json-patch+json header and JSON Pointer (RFC 6901) paths for patch operations. - API-plane awareness: Clarifies which resources accept PATCH on each plane — ContentType, Content, and Media on CMA, but Content only on ACMA (ACMA Media has no update endpoint). - Use Case: When writing an HTTP client that updates a single field of a Weegloo Content entry, use this Skill to construct a minimal JSON Patch body instead of re-sending the entire document with PUT. ## Quick Start Ask the agent to update one field of a Weegloo Content document using an RFC 6902 JSON Patch request against the CMA API.

Frequently Asked Questions about weegloo-cma-json-patch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I partially update a Weegloo document via the CMA API?

Send an HTTP PATCH request with a JSON Patch body following RFC 6902. The body is a JSON array of operations such as add, remove, or replace, each targeting a path with JSON Pointer syntax. Set the Content-Type header to application/json-patch+json.

Should I use PATCH or PUT to update Weegloo Content?

Prefer PATCH with JSON Patch when only a few fields change, since it sends only the operations needed and keeps payloads small. Use PUT when replacing the entire resource representation or when the OpenAPI contract for that endpoint expects a full body.

Which Content-Type header does JSON Patch require?

JSON Patch requests must use Content-Type: application/json-patch+json as registered in RFC 6902. Sending a JSON Patch body with a generic application/json content type is incorrect and may be rejected by the API.

Does the Weegloo ACMA API support PATCH for all resources?

No. On ACMA, PATCH is supported only for Content resources. ACMA Media is create/read/delete with no update endpoint, and ContentType is a CMA-only resource that does not exist on the ACMA plane.

What operations are available in RFC 6902 JSON Patch?

RFC 6902 defines six operations: add, remove, replace, move, copy, and test. Each operation specifies an op and a path using JSON Pointer syntax from RFC 6901, with move and copy also requiring a from field.