Contents |
URL
https://api.geoloqi.com/1/group/subscriptions
Description
Retrieve a list of groups the authenticated user belongs to. You can also specify an alternate user with the user_id=:id
param.
Supported Request Methods
GET
Parameters
- user_id OptionalThe ID of the user to return a list of group memberships for.
See API/Paging for optional parameters.
Example Request
$ curl https://api.geoloqi.com/1/group/subscriptions -H \ "Authorization: OAuth Log in to get your personal access token" -d "user_id=GheQ"
Response
{ "groups":[ { "title": "MapAttack", "date_created": "2011-08-18T19:51:54-07:00", "group_token": "d6Qwh1eSy", "active": 1, "description": "", "publish_access": "open", "visibility": "invite" } ] }