-
Re: cloud api to retrieve group
it2000 Nov 10, 2012 4:54 AM (in response to prashantmishra)First get the userID of the user, there are several ways to to this:
/people/username/your-user-name # may return 1234, I'll use it within the next call
Use your userID if you are not an admin to avoid forbidden errors.
Then get the streamIDs, the user may have created a lot of streams and added different places to different streams:
/people/1234/streams # may return multiple streams, for example 2,3,5,7
Iterate over all streams and filter for the group type:
/streams/2/associations?filter=type(group) # may return zero, one or more streams
/streams/3/associations?filter=type(group)
/streams/5/...
o_O @ "69303 Views" in 3 days / 16 views per minute
-
Re: cloud api to retrieve group
prashantmishra Nov 12, 2012 1:17 PM (in response to it2000)hey LG . thanks for the help , isnt there any single api so that i can retrieve all the groups that i am following and all the groups that i have created
thanks
prashnt
-