Update design.md
Changed onSaves an edited design.md. Only values that differ from the current document are written. A frontmatter value left exactly as returned is not written and keeps its current behavior; a changed buttons.radius, cornerRadius or fonts.heading is pinned so layout defaults no longer override it; a changed layout token is written into the design direction ahead of its prose. A key or section you remove is left unchanged, and an empty Voice or Design direction section clears that field (an empty direction returns to brand-derived defaults). Other level-2 sections are kept as part of the design direction. The Reference email section is read-only. Requires company_profile:manage, including for dry runs.
Request
- Base URLhttps://api.sequenzy.com/api/v1
- URLhttps://api.sequenzy.com/api/v1/design-md
- AuthHTTP bearer
Request body
Response
design.md saved, unchanged, or validated (dry run)
Example response
{
"success": true,
"message": "Saved design.md: changed colors.primary, voice.",
"changes": [
"colors.primary",
"voice"
],
"warnings": [
{
"message": "Unknown key \"shadows\" was ignored.",
"line": 2
}
],
"designSystem": {
"version": 1,
"designCode": {
"version": 1
}
}
}Changes
- info
endpoint added
- info