SpecifyDocs

Design rule save

/v1/design/rules

Signed-in sessionLaunch key product.designOperation design_rule_save

An internal tool for the components agents build and the rules they follow.

Body

projectIdstring
scopeKind"base" | "component" | "family" | "organization" | "project"
expectedAuthorizationVersionstring
familyKeystring
componentIdstring
examplesstring[]
antiExamplesstring[]
changeSetstring
changeSummarystring
kind"accessibility" | "functional" | "principle" | "taste"Required
textstringRequired
idempotencyKeystringRequired

Returns

ruleobjectRequired
changestringRequired

Errors

400, 401, 403, 404, 409, 429 and 503 return {"error": {"code", "message", "correlationId"}}.