API -> Get some group members

Hello!

Does this method Get some group members return only some members of the group?

I do not want to add new users individually. I want to do it in one request.

1 Like

The default values for the offset and limit parameters are zero and 100. For example to change the limit parameter:
https://meta.discourse.org/groups/trust_level_0/members.json?limit=10

The code is available here:
https://github.com/discourse/discourse_api/blob/master/lib/discourse_api/api/groups.rb#L111

4 Likes

Cool! That’s what I was looking for.

Thanks!!!

1 Like