Skip to main content

brandGuidelineRevisionCreate

DEPRECATED

Use siteAssetRevisionCreate with type BRAND_GUIDELINES

Creates a brand guidelines revision if expectedRevision matches the latest revision. Unchanged trimmed content returns the existing revision. Prefer siteAssetRevisionCreate with BRAND_GUIDELINES for new clients. Requires a logged-in session and site edit access.

brandGuidelineRevisionCreate(
siteId: Int!
content: String!
expectedRevision: Int!
): BrandGuideline! @deprecated

Arguments​

brandGuidelineRevisionCreate.siteId ● Int! non-null scalar​

Site ID from sites.

brandGuidelineRevisionCreate.content ● String! non-null scalar​

The complete Markdown brand guidelines document, not a patch; trimmed, nonempty, at most 50,000 characters. Plain text, not JSON.

brandGuidelineRevisionCreate.expectedRevision ● Int! non-null scalar​

Current revision from brandGuideline; use 0 before the first revision. A stale value returns a revision conflict.

Type​

BrandGuideline object​

An append-only brand guidelines text revision returned by brandGuideline and brandGuidelineRevisions.