What's Changed
- Enh
- Entry variants:
contentType(...).entry(...).variants(variantUidOrUids, branchName?)— optional second argument sets the CMAbranchheader for that variants scope (branch UID or alias). First argument accepts a variant UID string or an array of UIDs (comma-separated in the request path). OmittingbranchNamepreserves previous behavior. - Entry variants: added
variants(uid).publish()andvariants(uid).unpublish(), calling the entry publish/unpublish endpoints with the variant payload nested underentry. publish()/unpublish()(entry and entry variants) accept optionalheadersandparams, merged into the underlying HTTP request.
- Entry variants:
Full Changelog: v1.30.4...v1.31.0