Breaking Change: Club members

Sort:
Avatar of andreamorandini

To address the request of showing members activity we decided to change the response that you get by accessing the http://www.chess.com/club/test/members .

After the change the members will we split in three groups, depending on the member last activity date. the "last activity date" of an user is changed when he/she posts/reads a news, posts/reads a comment, creates a new match etc.

The group in which the users will be listed are:

  • weekly: lists the users that did an activty in the club in the last week,
  • monthly: lists the users that did an activty in the club in the last month (excluding users already present in weekly list),
  • all_time: lists all the other users (excluding users already present in weekly and monthly list).

An example of a response you will get by accessing the Club's members url is:

{
    "weekly": [
        "user_1"
    ],
    "monthly": [
        "user_3"
    ],
    "all_time": [
        "user_2",
        "user_4",
        "user_5"
    ]
}

We expect these changes to be live early next week.

Avatar of skelos

For non-admin users, does "last_activity" include registering for a match?

If a member withdraws before a match is locked, or is excluded by an admin, does that update the "last_activity" time?

Reasons for asking:

a) Finding out by experimentation is presumably possible, but I'd have to work to find examples of all those cases happy.png

b) I'd like the "etc" in what updates "last_activity" to be specific. (Even if subject to change.)

Thanks.