direct_add Changes

Jordan Evans
 

Hello,

I noticed a small change in the response to direct_add (https://groups.io/api#direct_add) that appeared sometime around November 2019 or maybe a earlier.

The direct_add_results (https://groups.io/api#the-direct-add-results-object) definition seems to show the full member_info object, but when I call the API I get a shorter form of the object, see below for an example result I now get. I noticed this because we used to pull the "email" field from each member_info object, but sometime late last year that field disappeared from the member_info object returned in the direct_add_results object.

Is this a bug in the documentation or the API?

I get (I removed the IDs before posting):

{
    "object""direct_add_results",
    "total_emails"1,
    "errors"null,
    "added_members": [
        {
            "id": 0,
            "object""member_info",
            "created""2020-01-08T15:18:28.015726497-08:00",
            "updated""2020-01-08T15:18:28.015726497-08:00",
            "user_id"0,
            "group_id"58878,
            "group_name""lftestglobalowners",
            "user_name""",
            "full_name""Jordan Evans",
            "cover_photo_url""",
            "icon_url""",
            "nice_group_name""",
            "subs_count"0,
            "most_recent_message""0001-01-01T00:00:00Z"
        }
    ]
}

Join api@beta.groups.io to automatically receive all group messages.