Policy for automated ManiaHome notification posting

Maniaplanet public API, ManiaConnect system and the open source PHP SDK.

Moderator: NADEO

Post Reply
User avatar
magnetik
Nadeo
Nadeo
Posts: 1678
Joined: 01 Feb 2012, 19:13
Location: Bordeaux
Contact:

Policy for automated ManiaHome notification posting

Post by magnetik »

Hi,

As the number of automated notification grows quickly, in order to have a cleaner feed for user, we ask applications that make extensive use of notifications to use the "group" parameter of the notification.
In a future update, consecutive notifications with the same "group" will be grouped together.

For instance, if a player makes 3 actions that send a notification (for instance downloading a skin, breaking a record), we ask you to add the group "download:<login>" or "record:<login>".
So two consecutive download from different users won't be grouped, but if the user download 10 skin, it will be displayed only once.

Do not hesitate to ask if you encounter any issue.

Thanks.
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
novationx
Posts: 2723
Joined: 10 Aug 2013, 22:33

Re: Policy for automated ManiaHome notification posting

Post by novationx »

:thumbsup:
The neverending waiting game has to stop.
User avatar
magnetik
Nadeo
Nadeo
Posts: 1678
Joined: 01 Feb 2012, 19:13
Location: Bordeaux
Contact:

Re: Policy for automated ManiaHome notification posting

Post by magnetik »

I've just posted the version 5.0.6 of the PHP SDK that allows you to adds the group.
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
User avatar
m4rcel
Posts: 653
Joined: 15 Jun 2010, 11:12
Contact:

Re: Policy for automated ManiaHome notification posting

Post by m4rcel »

Are there any rules or conventions for naming the group, or can we use anything we want?

And are the groups shared between all notifications, or does each MPWS-user/ManiaLink has its own set of groups? (E.g. if I post a notification with the group "download:magnetik", will it be grouped together with novationx' notification with the same group?)
ImageImage
Image
User avatar
magnetik
Nadeo
Nadeo
Posts: 1678
Joined: 01 Feb 2012, 19:13
Location: Bordeaux
Contact:

Re: Policy for automated ManiaHome notification posting

Post by magnetik »

You can use anything you want.
The groups are shared across all users.
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
Post Reply

Return to “Maniaplanet Web Services”

Who is online

Users browsing this forum: No registered users and 0 guests