Response schema
Success envelope and rule object schema for the Style guide API.
Success
Field
Type
Notes
Rule item response example:
{
"message": "Rule added.",
"result": [
{
"state": true,
"language": "en_US",
"id": {
"category": "STYLE_GUIDE",
"collection": "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>Collection item response example:
Notes
Success messages
Action
Message
Rule object
Fields
Field
Type (JSON)
Notes
Collection object
Fields
Field
Type (JSON)
Notes
Collection action fields
Field
Type
Description
Errors
Last updated
Was this helpful?

