Skip to end of metadata
Go to start of metadata

An affiliate is a connection between a group and an external entity. GWS does not normally have direct access to the external systems, so these resources are a bit nebulous and asynchronous. The local resource is an indicator that the affiliation exists. Changes to groups and group memberships are automatically, asynchronously, transmitted to any affiliates. When a group is deleted all affiliations are also deleted.

Resource

  • GET| (root)/{{group/{group_id}/affiliate/(affiliate_id)
    The group_id can be a group name (cn) or a regid.

Return

200

affiliate exists

 

  1. The returned group identifier is the same as specified in the URL.

    <!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">
        Identifier: <span class="identifier">Group's identifier</span>
    
        Affiliate: <span class="affiliate name="{affiliate_name} status={affiliate_status"/>
      </div>
    </body>
    </html>
    

400

invalid affiliate id

401

Not authorized

404

Group or affiliate not found