A knowledge base article about CalGroups API Information provided by the UC Berkeley IT Service Hub - Knowledge Portal
Contact calnet-admin@berkeley.edu to request a web services account.
| Reference: https://github.com/Internet2/grouper/blob/02221283c18c44d2d87776f9a91a60...(link is external) |
|
URN: PUT https://calgroups.berkeley.edu/grouper/servicesRest/json/v2_2_100/groups... Body: { |
Can also delete a nested group using UUID.
|
POST https://calgroups.berkeley.edu/grouper/servicesRest/json/v2_2_100/groups...? \ |
|
POST https://calgroups.berkeley.edu/grouper/servicesRest/json/v2_2_100/stems/...? \ |
|
POST https://calgroups.berkeley.edu/grouper/servicesRest/json/v2_2_100/groups? \ |
find groups by name
|
POST https://calgroups.berkeley.edu/grouper/servicesRest/json/v2_2_100/groups? \ |
This method allows saving multiple groups at once, so the left/right groups can also be created before the composite group. See reference below.
|
URN: BODY: |
Use this to add provisioning attributes to a group. In this case, the sync to google attributes including metadata. Your app credentials need to have access to the attribute and group. To remove the provisioning attributes, see the next function.
The example below uses the value for syncing to Google (bConnected).
The values for LDAP and AD are:
LDAPBerkeleyIMO
AD
|
URN: POST https://calgroups.berkeley.edu/grouper/servicesRest/json/v2_2_100/attributeAssignments Body: { "WsRestAssignAttributesBatchRequest": { "wsAssignAttributeBatchEntries": [ { "wsOwnerGroupLookup": { "groupName": "edu:berkeley:org:testorg:testgroupname" }, "attributeAssignType": "group", "attributeAssignOperation": "add_attr", "wsAttributeDefNameLookup": { "name": "etc:provisioning:provisioningMarker" } }, { "wsOwnerAttributeAssignLookup": { "batchIndex": "0" }, "attributeAssignType": "group_asgn", "attributeAssignOperation": "assign_attr", "attributeAssignValueOperation": "assign_value", "values":[ { "valueSystem": "true" } ], "wsAttributeDefNameLookup": { "name": "etc:provisioning:provisioningDirectAssign" } }, { "wsOwnerAttributeAssignLookup": { "batchIndex": "0" }, "attributeAssignType": "group_asgn", "attributeAssignOperation": "assign_attr", "attributeAssignValueOperation": "assign_value", "values":[ { "valueSystem": "bConnected" } ], "wsAttributeDefNameLookup": { "name": "etc:provisioning:provisioningDoProvision" } }, { "wsOwnerAttributeAssignLookup": { "batchIndex": "0" }, "attributeAssignType": "group_asgn", "attributeAssignOperation": "assign_attr", "attributeAssignValueOperation": "assign_value", "values":[ { "valueSystem": "bConnected" } ], "wsAttributeDefNameLookup": { "name": "etc:provisioning:provisioningTarget" } }, { "wsOwnerAttributeAssignLookup": { "batchIndex": "0" }, "attributeAssignType": "group_asgn", "attributeAssignOperation": "assign_attr", "attributeAssignValueOperation": "assign_value", "values":[ { "valueSystem": "bConnected" } ], "wsAttributeDefNameLookup": { "name": "etc:provisioning:provisioningDoProvision" } } ] } } |
Use this to remove provisioning attributes to a group. All provisioning attributes will be removed. To add provisioning attributes, see the previous function.
|
URN: Body: |
|
Reference: https://spaces.at.internet2.edu/display/Grouper/Assign+Attributes Look at the Lite Samples. |
Request access via a folder space using a Service Request form in ServiceNow.
If you have questions about CalGroups, including API questions, contact: calnet-admin@berkeley.edu.