Skip to end of metadata
Go to start of metadata

Get history

Resource

  • GET| (root)/group/{group_id}/history

The group_id can be a group name (cn) or a regid.

Query string

The history resource allows query string parameters:

  • start=start_time (time in milliseconds since epoch)
  • size=size_limit (maximum number of events, default=200)
  • order= a|d (sort order, ascending or descending by date, default=d)
  • activity=specific_activity (acl | membership)
  • id=member_id (show only membership for this id) (since version 2.1.7)

Return

200

Group's history (change log)

  1. Content of the response contains one class "historylist".
  2. Other html is for browser formatting.
  3. Within the class "historylist" there is one "history" for each event.

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11/dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/>
</head>
<body>
  <div>
    Regid: <span class="regid">{regid}</span>
    <br/>
    <ul class="historylist">
      <li>
        <li class="history" date="1289655444372" 
            user="{userid}" 
            activity="{activity}"  
            description="{detail}"/>
      </li>
      <!-- Additional (li) for each event -->
    </ul>
  </div>
</body>
</html>

304

If-None-Match header matches group's ETag

404

Group not found

Notes

  • Users without read permission on the group cannot see membership events.