Get memberships for group api gave wrong 'total_count' value
The 'entries' has 3 items, but 'total_count' only shows 2.
url: https://api.box.com/2.0/groups/3942702176/memberships
response:
{
"offset": 0,
"limit": 100,
"total_count": 2,
"entries": [
{
"type": "group_membership",
"id": "8999870053",
"user": {
"type": "user",
"id": "8952x78961",
"name": "2002CR1",
"login": "***email address removed for privacy***"
},
"group": {
"type": "group",
"id": "394270x176",
"name": "AT_03xx_Refac_Group_1",
"group_type": "managed_group"
},
"role": "admin"
},
{
"type": "group_membership",
"id": "8999097x63",
"user": {
"type": "user",
"id": "915324x140",
"name": "2002CR9@",
"login": "***email address removed for privacy***"
},
"group": {
"type": "group",
"id": "3942702x76",
"name": "AT_03xx_Refac_Group_1",
"group_type": "managed_group"
},
"role": "admin"
},
{
"type": "group_membership",
"id": "8999292x69",
"user": {
"type": "user",
"id": "9153249x40",
"name": "2002CR9@",
"login": "***email address removed for privacy***"
},
"group": {
"type": "group",
"id": "3942702x76",
"name": "AT_03xx_Refac_Group_1",
"group_type": "managed_group"
},
"role": "admin"
}
]
}
Please sign in to leave a comment.
Comments
2 comments