Updating a group
Changes the name of the existing group.
Request format
PUT https://push.api.appmetrica.yandex.net/push/v1/management/group/{groupId}
|
Group ID. |
Request body
{
"group": {
"name": "string",
"send_rate": int
}
}
|
Information about groups. |
|
New name for the group. |
|
Dispatch speed limit for push messages (messages per second). The default value is 5000 (maximum). The minimum value is 100. Note Reducing the speed allows you to decrease your handling service load. |
Response format
{
"group": {
"id": int,
"app_id": int,
"name": "string",
"send_rate": int
}
}
|
Information about groups. |
|
Group ID. |
|
App ID. |
|
Unique name of the group. |
|
Dispatch speed limit for push messages (messages per second). The default value is 5000 (maximum). The minimum value is 100. Note Reducing the speed allows you to decrease your handling service load. |
Sample request
cURLHTTP
curl -X POST \ 'https://push.api.appmetrica.yandex.net/push/v1/management/group/XXXXXX' \ -H 'Content-Type: application/json' \ -H 'Authorization: OAuth 05dd3dd84ff948fdae2bc4fb91f13e22bb1f289ceef0037' -d '{"group":{"name":"new_group_name"}}'
GET /push/v1/management/group/XXXXXX HTTP/1.1 Host: push.api.appmetrica.yandex.net Content-Type: application/json Authorization: OAuth 05dd3dd84ff948fdae2bc4fb91f13e22bb1f289ceef0037 { "group": { "name": "new_group_name" } }
If you didn't find the answer you were looking for, you can use the feedback form to submit your question. Please describe the problem in as much detail as possible. Attach a screenshot if possible.
A group is a container for sending push messages. It allows grouping messages sendings in the push campaign report. The group can contain an arbitrary number of sendings. The push campaign report displays these groups at the first level along with push campaigns that are launched through the web interface.