Style guide API
Manage custom style guide rules over the HTTP API.
This command is action-based (not REST).
Command name: style_guide
See HTTP API Overview for endpoint, methods, and formats.
Rule identity and language
A style guide rule is scoped by language.
To uniquely target a rule, you need both:
lang(language scope)rule(rule ID)
lang defaults to common.
It can also be:
a language code like
en_USa language group like
en
Common parameters
Every action uses parameters listed below. For common parameters for all commands, see HTTP API Overview.
cmd
string
Yes
style_guide
Command name.
action
string
Yes
One of the actions below.
lang
string
No
common
Language scope for the rule set. Use en_US or en to target a specific language.
rule
string
Yes
Comma-separated list of rules
lang is part of the rule identity. Same rule ID in a different lang scope is treated as a different target.
Actions
Response format
Success responses share the same envelope and rule object schema.
See Response schema.
Errors and validation
Last updated
Was this helpful?

