Transaction Action of GS2-Schedule
ConsumeAction
Gs2Schedule:DeleteTriggerByUserId
Delete trigger by specifying user ID
Actions for which quantity can be specified: NO
Reversible action: NO
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
userId | string | |
Set #{userId} to replace the currently logged in user ID. | ||
triggerName | string | Trigger Name |
{
"action": "Gs2Schedule:DeleteTriggerByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User Id",
"triggerName": "[string]Trigger Name"
}
}
action: Gs2Schedule:DeleteTriggerByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User Id"
triggerName: "[string]Trigger Name"
AcquireAction
Gs2Schedule:TriggerByUserId
Trigger by specifying a user ID
Actions for which quantity can be specified: NO
Reversible action: YES
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
triggerName | string | Trigger Name |
userId | string | Set #{userId} to replace the currently logged in user ID. |
triggerStrategy | enum [‘renew’, ‘drop’] | Trigger Pulling Policy |
ttl | int | Trigger expiration time (seconds) |
{
"action": "Gs2Schedule:TriggerByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"triggerName": "[string]Trigger Name",
"userId": "[string]User Id",
"triggerStrategy": "[string]Trigger Pulling Policy",
"ttl": "[int]Trigger expiration time (seconds)"
}
}
action: Gs2Schedule:TriggerByUserId
request:
namespaceName: "[string]Namespace name"
triggerName: "[string]Trigger Name"
userId: "[string]User Id"
triggerStrategy: "[string]Trigger Pulling Policy"
ttl: "[int]Trigger expiration time (seconds)"