ASI/groups/@public/:group_id

GET ^top

Returns the details of this group.

Access

Application

Returns

  • 200 - OK

Response example


{
  "entry": {
    "number_of_members": 0,
    "created_at": null,
    "title": "An example group 7",
    "group_type": "open",
    "id": "cqFoSO6Cir4juJeJfcaj6R",
    "created_by": "cqFpQm6Cir4juJeJfcaj6R",
    "description": "Groups can have descriptions. This is an example."
  }
}
            

PUT ^top

Updates the information of this group. All parameters are optional; leave out the ones you do not wish to change. Personal groups cannot be changed to any other type and groups of other types cannot be changed to personal groups.

A descriptive text for the group (optional).

Parameters

group
title

The title (or name) of the group.

type

Can be open, closed or hidden.

description

A descriptive text for the group (optional).

Access

Group admin

Returns

  • 200 - OK

Response example


{
  "entry": {
    "number_of_members": 0,
    "created_at": null,
    "title": "An example group 8",
    "group_type": "open",
    "id": "cqGnpW6Cir4juJeJfcaj6R",
    "created_by": "cqGoj46Cir4juJeJfcaj6R",
    "description": "Groups can have descriptions. This is an example."
  }
}
            

SUBRESOURCES ^top