ContinuouslyPush
Executes a predefined continuous push task.
Operation description
This operation resolves the issue of the maximum number of targets per call in the Push advanced push operation, regardless of whether the push is based on devices, accounts, or aliases.
-
Using continuous push indicates that the business scenario involves sending the same message to a large number of devices. In this case, call the continuous push operation appropriately. For each call, aggregate a group of devices for the push. Currently, the maximum number of targets per push is 1,000 for device-based, account-based, and alias-based pushes. The total number of pushes for the same MessageId is limited to 10,000. If a higher quota is required, contact technical support to evaluate the specific scenario.
-
Before using this operation, call the Push operation, set Target to TBD (To Be Determined), and specify the message content to obtain the MessageId of the message in the push system. Then, you can repeatedly call this operation based on the MessageId and specify different target groups to push the message to these targets.
-
After you call the Push operation and set the target to TBD to obtain the MessageId, the message is retained in the push system for 24 hours by default. Before the message expires, you can use this operation to push the message to specified targets at any time. Pushes are not allowed after the message expires or the maximum total number of pushes is exceeded.
-
Each time you call this operation to specify devices, the message is pushed immediately. Scheduled pushes are not supported.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mpush:ContinuouslyPush |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppKey |
integer |
Yes |
The AppKey information. |
23267207 |
| MessageId |
string |
Yes |
The message ID. The MessageId obtained after calling the Push operation and setting Target to TBD. It represents a message that has been saved to the push system. |
500131 |
| Target |
string |
Yes |
The push target:
Continuous push supports only these three target types. |
DEVICE |
| TargetValue |
string |
Yes |
Set this parameter based on Target. Separate multiple values with commas. If the limit is exceeded, push the message in multiple batches.
|
a692961a92534047ad3625**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| MessageId |
string |
The message ID that identifies a push. |
9998B3CC-ED9E-4CB3-A8FB-DCC61296BFBC |
| RequestId |
string |
The request ID. |
500131 |
Examples
Success response
JSON format
{
"MessageId": "9998B3CC-ED9E-4CB3-A8FB-DCC61296BFBC",
"RequestId": "500131"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.