Transaction Action of GS2-Idle
Specification of verify/consume/acquire transaction actions
ConsumeAction
Gs2Idle:DecreaseMaximumIdleMinutesByUserId
Decrease the maximum idle time by specifying a user ID
Whether the action allows quantity specification: YES
Whether the action is reversible: YES
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| namespaceName | string | ✓ | ~ 128 chars | Namespace name Namespace-specific name. Specified using alphanumeric characters, hyphens (-), underscores (_), and periods (.). | ||
| userId | string | ✓ | ~ 128 chars | User ID Set #{userId} to replace the currently logged in user ID. | ||
| categoryName | string | ✓ | ~ 128 chars | Category Model Name | ||
| decreaseMinutes | int | 1 ~ 2147483646 | Minutes to decrease the maximum idle time | |||
| timeOffsetToken | string | ~ 1024 chars | Time offset token |
{
"action": "Gs2Idle:DecreaseMaximumIdleMinutesByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User ID",
"categoryName": "[string]Category Model Name",
"decreaseMinutes": "[int]Minutes to decrease the maximum idle time",
"timeOffsetToken": "[string]Time offset token"
}
}action: Gs2Idle:DecreaseMaximumIdleMinutesByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User ID"
categoryName: "[string]Category Model Name"
decreaseMinutes: "[int]Minutes to decrease the maximum idle time"
timeOffsetToken: "[string]Time offset token"transaction.service("idle").consume.decrease_maximum_idle_minutes_by_user_id({
namespaceName="[string]Namespace name",
userId="[string]User ID",
categoryName="[string]Category Model Name",
decreaseMinutes="[int]Minutes to decrease the maximum idle time",
timeOffsetToken="[string]Time offset token",
})AcquireAction
Gs2Idle:IncreaseMaximumIdleMinutesByUserId
Increase the maximum idle time by specifying a user ID
Whether the action allows quantity specification: YES
Whether the action is reversible: YES
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| namespaceName | string | ✓ | ~ 128 chars | Namespace name Namespace-specific name. Specified using alphanumeric characters, hyphens (-), underscores (_), and periods (.). | ||
| userId | string | ✓ | ~ 128 chars | User ID Set #{userId} to replace the currently logged in user ID. | ||
| categoryName | string | ✓ | ~ 128 chars | Category Model Name | ||
| increaseMinutes | int | 1 ~ 2147483646 | Minutes to increase the maximum idle time | |||
| timeOffsetToken | string | ~ 1024 chars | Time offset token |
{
"action": "Gs2Idle:IncreaseMaximumIdleMinutesByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User ID",
"categoryName": "[string]Category Model Name",
"increaseMinutes": "[int]Minutes to increase the maximum idle time",
"timeOffsetToken": "[string]Time offset token"
}
}action: Gs2Idle:IncreaseMaximumIdleMinutesByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User ID"
categoryName: "[string]Category Model Name"
increaseMinutes: "[int]Minutes to increase the maximum idle time"
timeOffsetToken: "[string]Time offset token"transaction.service("idle").acquire.increase_maximum_idle_minutes_by_user_id({
namespaceName="[string]Namespace name",
userId="[string]User ID",
categoryName="[string]Category Model Name",
increaseMinutes="[int]Minutes to increase the maximum idle time",
timeOffsetToken="[string]Time offset token",
})Gs2Idle:SetMaximumIdleMinutesByUserId
Set the maximum idle time by specifying a user ID
Whether the action allows quantity specification: NO
Whether the action is reversible: NO
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| namespaceName | string | ✓ | ~ 128 chars | Namespace name Namespace-specific name. Specified using alphanumeric characters, hyphens (-), underscores (_), and periods (.). | ||
| userId | string | ✓ | ~ 128 chars | User ID Set #{userId} to replace the currently logged in user ID. | ||
| categoryName | string | ✓ | ~ 128 chars | Category Model Name | ||
| maximumIdleMinutes | int | 1 ~ 2147483646 | Maximum idle time to set | |||
| timeOffsetToken | string | ~ 1024 chars | Time offset token |
{
"action": "Gs2Idle:SetMaximumIdleMinutesByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User ID",
"categoryName": "[string]Category Model Name",
"maximumIdleMinutes": "[int]Maximum idle time to set",
"timeOffsetToken": "[string]Time offset token"
}
}action: Gs2Idle:SetMaximumIdleMinutesByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User ID"
categoryName: "[string]Category Model Name"
maximumIdleMinutes: "[int]Maximum idle time to set"
timeOffsetToken: "[string]Time offset token"transaction.service("idle").acquire.set_maximum_idle_minutes_by_user_id({
namespaceName="[string]Namespace name",
userId="[string]User ID",
categoryName="[string]Category Model Name",
maximumIdleMinutes="[int]Maximum idle time to set",
timeOffsetToken="[string]Time offset token",
})Gs2Idle:ReceiveByUserId
Receive rewards by specifying a user ID
Whether the action allows quantity specification: NO
Whether the action is reversible: NO
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| namespaceName | string | ✓ | ~ 128 chars | Namespace name Namespace-specific name. Specified using alphanumeric characters, hyphens (-), underscores (_), and periods (.). | ||
| userId | string | ✓ | ~ 128 chars | User ID Set #{userId} to replace the currently logged in user ID. | ||
| categoryName | string | ✓ | ~ 128 chars | Category Model Name | ||
| config | List<Config> | [] | 0 ~ 32 items | Set values to be applied to transaction variables | ||
| timeOffsetToken | string | ~ 1024 chars | Time offset token |
{
"action": "Gs2Idle:ReceiveByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User ID",
"categoryName": "[string]Category Model Name",
"config": [
{
"key": "[string]Name",
"value": "[string]Value"
}
],
"timeOffsetToken": "[string]Time offset token"
}
}action: Gs2Idle:ReceiveByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User ID"
categoryName: "[string]Category Model Name"
config:
- key: "[string]Name"
value: "[string]Value"
timeOffsetToken: "[string]Time offset token"transaction.service("idle").acquire.receive_by_user_id({
namespaceName="[string]Namespace name",
userId="[string]User ID",
categoryName="[string]Category Model Name",
config={
{
key="[string]Name",
value="[string]Value"
}
},
timeOffsetToken="[string]Time offset token",
})