Hey,
The GetMyGroups will return the group requests and invites made to the current profile.
As you noticed, to get the requests and invites made to a group (from other profiles), you need to use ReadGroup.
This flow is working as intended. Groups and profiles are separate objects, and both can make invites and receive requests.
So using GetMyGroups: here would be an example of a user that has made a group request, and has received a group invite.
{
"data":{
"requested":[
{
"groupType":"DiscussionGroup",
"groupId":"ad1ae126-d030-4d21-92c5-3e9d0b959647",
"memberCount":1,
"name":"Dark Roast",
"invitedPendingMemberCount":0,
"requestingPendingMemberCount":1,
"ownerId":"f86a20d4-51a3-4594-a5b0-90111bf55e6d",
"isOpenGroup":false
}
],
"invited":[
{
"groupType":"DiscussionGroup",
"groupId":"b1d958e3-d196-45e2-9567-8efeb3296482",
"memberCount":1,
"name":"Local Coffee Shops",
"invitedPendingMemberCount":1,
"requestingPendingMemberCount":0,
"ownerId":"f86a20d4-51a3-4594-a5b0-90111bf55e6d",
"isOpenGroup":true
}
],
"groups":[
]
},
"status":200
}
Hope that helps!