Skip to main content

CreateContentAssetDto

codestringrequired

Content Assets Phase 3 gap 12 — dotted-lowercase alnum namespace (e.g. terms.motor, privacy_policy.ug). Refuses uppercase, spaces, or leading/trailing dots.

Possible values: >= 3 characters and <= 100 characters, Value must match regular expression /^[a-z0-9]+([._-][a-z0-9]+)*$/

localestring

Content Assets Phase 3 gap 10 — locale of this version (IETF BCP 47). Defaults to en-UG.

Possible values: >= 2 characters and <= 20 characters, Value must match regular expression /^[a-z]{2,3}(-[A-Z]{2})?$/

titlestringrequired

Possible values: >= 3 characters and <= 200 characters

categorystringrequired

Possible values: [product_brochure, terms, privacy_policy, training, marketing, rate_card, cooling_off_notice, product_disclosure, fee_schedule, other]

bodystringrequired

Possible values: non-empty and <= 100000 characters

documentIdstring
effectiveFromstring
effectiveTostring
CreateContentAssetDto
{
"code": "string",
"locale": "string",
"title": "string",
"category": "product_brochure",
"body": "string",
"documentId": "string",
"effectiveFrom": "string",
"effectiveTo": "string"
}