Response schema
Success envelope and rule object schema for the Style guide API.
Success
Field
Type
Notes
{
"message": "Rule added.",
"result": [
{
"state": true,
"language": "en_US",
"id": {
"category": "STYLE_GUIDE",
"rule": "STYLE_5933619761905272220"
},
"patterns": ["webspellchecker"],
"suggestions": ["WebSpellChecker"],
"description": "The company name should be spelled in the mixed case.",
"context_include": [],
"context_exclude": []
}
]
}<message>Rule added.</message>
<result>
<rule>
<state>true</state>
<language>en_US</language>
<id>
<category>STYLE_GUIDE</category>
<rule>STYLE_5933619761905272220</rule>
</id>
<patterns>
<patterns>webspellchecker</patterns>
</patterns>
<suggestions>
<suggestions>WebSpellChecker</suggestions>
</suggestions>
<description>The company name should be spelled in the mixed case.</description>
<context_include/>
<context_exclude/>
</rule>
</result>Notes
Success messages
Action
Message
Rule object
Fields
Field
Type (JSON)
Notes
Errors
Last updated
Was this helpful?