SpecifyDocs

Design rule propose

/v1/design/rule-proposals

Signed-in sessionLaunch key product.designOperation design_rule_propose

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

Body

expectedAuthorizationVersionstring
parentRuleIdstring
scopeobjectRequired
visibility"private" | "tenant"Required
textstringRequired
idempotencyKeystringRequired
evidenceReviewIdsstring[]Required
class"accessibility" | "functional" | "principle" | "taste"Required
examplesstring[]Required
antiExamplesstring[]Required
ruleKeystringRequired
diffstringRequired
citedGuidanceobject[]Required

Returns

Nothing: the response's result is empty.

Errors

400, 401, 403, 404, 409, 429 and 503 return {"error": {"code", "message", "correlationId"}}. A call without a valid credential gets 401 before its input is checked, and so does an address that is not an operation: 404 and 400 come only once the credential is accepted. Public operations answer without one.