Root definitions

DispatchActionJson

Permalink

Remove the Activity

Properties

authorIs

anyOf [Array<anyOf [AuthorCriteria, NamedCriteria<AuthorCriteria>, string]>, FilterOptionsJson<AuthorCriteria>]

If present then these Author criteria are checked before running the Check. If criteria fails then the Check will fail.

cancelIfQueued

anyOf [Array<string>, Array<anyOf [Array<string>, string]>, boolean ∪ string]

delay Required

anyOf [DurationObject, string]

dryRun

boolean

If true the Action will not make the API request to Reddit to perform its action.

Default: false
enable

boolean

If set to false the Action will not be run

Default: true
goto

string

identifier

string

itemIs

anyOf [Array<anyOf [SubmissionState, CommentState, NamedCriteria<TypedActivityState>, string]>, FilterOptionsJson<TypedActivityState>]

A list of criteria to test the state of the Activity against before running the check.

If any set of criteria passes the Check will be run. If the criteria fails then the Check will fail.

  • @examples [[{"over_18": true, "removed': false}]]
kind Required

string

The type of action that will be performed

Valid values: dispatch

name

string

An optional, but highly recommended, friendly name for this Action. If not present will default to kind.

Can only contain letters, numbers, underscore, spaces, and dashes

Pattern: ^[a-zA-Z]([\w -]*[\w])?$
onExistingFound

string

Valid values: ignore, replace, skip

tardyTolerant

anyOf [DurationObject, string ∪ boolean]

target Required

anyOf [Array<string>, string]

Loading...

Editor and Validator