SetRules
POST/twirp/ttab.newswire.Delivery/SetRules
SetRules creates or updates a named ruleset for a destination.
Request
- application/json
Body
deploy boolean
Deploy will immediately activate the ruleset if set to true.
destination string
Destination is the name of the destination to set the ruleset for.
name string
Name of the ruleset to create or update.
rules string
Rules is the blockly state describing the rules.
Responses
- 200
- default
Method response
- application/json
- Schema
- Example (from schema)
Schema
version integer
Version of the new or updated ruleset.
{
"version": 0
}
Loading...