Getting Groups - ACS - Reference Guides

ACS Integration Guide

Product
ACS
Platform
7.9
Category
Reference Guides
Language
English
Target Audience
public

To get a group, a CKS root user must use the GET method on the group id resource of a given group.

  • request line

GET /cks/instance/<service_id>-${Service_Status}/group/<group_id>?afs:login=login://antidot:change_on_install@Antidot

  • reply body

<value xsi:schemaLocation="antidot:cks:output http://ref.antidot.net/v7/cks.xsd" xsi:type="ws.response" xmlns="antidot:cks:output" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<query xsi:type="ws.response.query">
<locale>fr_FR</locale>
<parameters></parameters>
<properties xsi:type="dynamic"></properties>
</query>
<result xsi:type="cks.ws.group" reference="/cks/instance/12-stable/group/10">
<metadata xsi:type="dynamic">
<currentUserIsMember xsi:type="boolean">false</currentUserIsMember>
<numberOfAccessibleBook xsi:type="number">0</numberOfAccessibleBook>
<numberOfUsers xsi:type="number">0</numberOfUsers>
<profilesOfCurrentUserOnGroup xsi:type="collection">
<item xsi:type="cks.ws.security.profile" reference="/cks/instance/12-stable/profile/1">
<id>1</id>
<hidden>false</hidden>
<description>Give all rights.</description>
<name>Manager</name>
<rights>
<item xsi:type="cks.ws.security.right" reference="/cks/instance/12-stable/settings/right/read">
<description>Allow to read on an entity</description>
<value>READ</value>
</item>
<item xsi:type="cks.ws.security.right" reference="/cks/instance/12-stable/settings/right/manage">
<description>Allow to manage permission and delete entity</description>
<value>MANAGE</value>
</item>
<item xsi:type="cks.ws.security.right" reference="/cks/instance/12-stable/settings/right/write">
<description>Allow to write on an entity and allow to add an entity on a list of entities</description>
<value>WRITE</value>
</item>
<item xsi:type="cks.ws.security.right" reference="/cks/instance/12-stable/settings/right/constrained_write">
<description>Allow to add resource into a book</description>
<value>CONSTRAINED_WRITE</value>
</item>
</rights>
</item>
<item xsi:type="cks.ws.security.profile" reference="/cks/instance/12-stable/profile/1">
<id>1</id>
<hidden>false</hidden>
<description>Give all rights.</description>
<name>Manager</name>
<rights>
<item xsi:type="cks.ws.security.right" reference="/cks/instance/12-stable/settings/right/read">
<description>Allow to read on an entity</description>
<value>READ</value>
</item>
<item xsi:type="cks.ws.security.right" reference="/cks/instance/12-stable/settings/right/manage">
<description>Allow to manage permission and delete entity</description>
<value>MANAGE</value>
</item>
<item xsi:type="cks.ws.security.right" reference="/cks/instance/12-stable/settings/right/write">
<description>Allow to write on an entity and allow to add an entity on a list of entities</description>
<value>WRITE</value>
</item>
<item xsi:type="cks.ws.security.right" reference="/cks/instance/12-stable/settings/right/constrained_write">
<description>Allow to add resource into a book</description>
<value>CONSTRAINED_WRITE</value>
</item>
</rights>
</item>
</profilesOfCurrentUserOnGroup>
</metadata>
<id>10</id>
<hidden>false</hidden>
<tracker>
<creationDate xsi:type="date-time">2013-01-09T16:25:01+01:00</creationDate>
<creator xsi:type="cks.ws.user" partial="true" reference="/cks/instance/12-stable/user/7">
<id>7</id>
<login>root</login>
</creator>
<modificationDate xsi:type="date-time">2013-01-09T16:29:11+01:00</modificationDate>
<modifier xsi:type="cks.ws.user" partial="true" reference="/cks/instance/12-stable/user/7">
<id>7</id>
<login>root</login>
</modifier>
</tracker>
<annotations>
<annotation xsi:type="common.annotation.string" name="city">
<values>
<value xsi:type="string">Ulm</value>
</values>
</annotation>
</annotations>
<description>My Description</description>
<name>My Name</name>
<registrationMode>CLOSED</registrationMode>
</result>
</value>