Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Get membership

Float
right
right
HTML Table
border0
bgcolor#FFF0F0
Table Row (tr)
Table Cell (td)
colspan2
Conventions
Table Row (tr)
Table Cell (td)
{text} :
Table Cell (td)
replace {text} with specific content
Table Row (tr)
Table Cell (td)
(root):
Table Cell (td)
WebService URL base
Table Row (tr)
Table Cell (td)
(type) :
Table Cell (td)
uwnetid | group | dns | eppn | uwwi

Resource

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

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

Return

200

Group's direct membership

  1. Content of the response contains one class "group".
  2. Other html is for browser formatting.
  3. Within the class "members" there is one "member" for each member.
  4. Each "member" is also an anchor to the specific member

 

Code Block
xml
xml
<!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 class="group">
    Regid: <span class="regid">{regid}</span>
    <br/>
    <ul class="members">
      <li>
        <a rel="memberlink" class="member" type="{type}"
           href="(root)/group/{regid}/member/{member_id}">{member_id}</a>
      </li>
      <!-- Additional (li) for each member -->
    </ul>
  </div>
</body>
</html>

304

If-None-Match header matches group's ETag

401

No permission to view membership

404

Group not found

Notes

  • The response always includes an ETag header, which can be used on subsequent GETs and must be used on subsequent updates or deletes.