API endpoint that allows groups to be viewed or edited.



will get groups user 1 is a member of

extra filter API


will find groups where user 1 is an admin

http://localhost:8000/api/groups/?i_can_ask=true - gets groups you are a member of where you can ask questions

http://localhost:8000/api/groups/?i_can_ask=false - gets groups you are a member of where you cannot ask questions

meaning of fields

canAskDefault : new members can_ask flag will match this, controlling if they can ask questions to a group

require_approval_to_join : if True, a membership request will be created, instead of the user instantly joining the group `when the user attempts to join.

secret : prevents the group from showing in the groups list

autoPublishQuestions : users questions must be approved by admin before being added to the group

in detail view

check out unanswered to see questions in a group you have not answered

check out questions to see all questions in a group

check out join to join or request to join a group

check out leave to leave a group

check out enable_notifications

check out disable_notifications

If require_approval_to_join is true a request to join will be sent instead of instantly joining

check out members to see members of a group

GET /api/groups/60/
Content-Type: application/json
Vary: Accept

    "id": 60,
    "url": "https://api.represent.me/api/groups/60/",
    "name": "Our future together",
    "slug": "our-future-together",
    "parent": null,
    "desc": "Whether you voted for Leave or Remain, the EU Referendum shows we need new ways to work together, to listen to each other, to discuss, debate and take action. Common ground needs to be found. \n\nThis group was formed at an event in June to do just this.",
    "image": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/74def284-45d9-442c-a3d6-5b52ba07e04f.png",
    "logo_image": null,
    "welcome_message": "",
    "created_at": "2016-06-27T14:40:01.768393Z",
    "modified_at": "2016-07-02T18:59:30.043862Z",
    "private": false,
    "default_share_email": 0,
    "member_count": 3,
    "my_membership": null,
    "autoPublishQuestions": true,
    "requested_join": false,
    "questions_count": 13,
    "require_approval_to_join": false,
    "secret": false,
    "canAskDefault": true,
    "votes_count": 0,
    "official": false