mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
rule response
This commit is contained in:
1 parent
d1c0af0908
commit
4582994e3b
1 file changed
+13
@@ -103,6 +103,19 @@ class Rule extends Model
|
||||
'example' => APP_DATABASE_ATTRIBUTE_DATETIME,
|
||||
'array' => false,
|
||||
])
|
||||
->addRule('actions', [
|
||||
'type' => self::TYPE_ARRAY,
|
||||
'description' => 'Additional actions required from the user when rule status is "action_required"',
|
||||
'default' => [],
|
||||
'example' => [
|
||||
[
|
||||
'challengeType' => 'managed-dns',
|
||||
'recordType' => 'CNAME',
|
||||
'recordName' => '_acme-challenge',
|
||||
'recordValue' => 'test.fastly-validations.com',
|
||||
],
|
||||
],
|
||||
])
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user