ASI/groups/: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 2",
    "group_type": "open",
    "id": "avjyrG6Cqr4lFdeJfcaj6R",
    "created_by": "avjzke6Cqr4lFdeJfcaj6R",
    "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 3",
    "group_type": "open",
    "id": "avku7y6Cqr4lFdeJfcaj6R",
    "created_by": "avkvYy6Cqr4lFdeJfcaj6R",
    "description": "Groups can have descriptions. This is an example."
  }
}
            

SUBRESOURCES ^top