GOCDB Programmatic Interface - Read

Method: get_service_group_role

Entry point

Description Protection Level
Returns a list of service groups and the roles under those groups. Protected (level 2)

Information

Parameters Effect Format/Value(s) Default Example
service_group_name Only return info for the service group with specified site name any ServiceGroup name all ?method=get_service_group_role&service_group_name=NGI_AEGIS_SERVICES
scope Show only sites with the requested scope tags A comma separated list of scope-tag values or an empty value to return all scopes, i.e. &scope= instance dependant ?method=get_site&scope=EGI
scope_match Match all or any of the specified scope-tags all or any all ?method=get_site&scope=Local,EGI&scope_match=any

Paging

This method optionally supports paging, to iterate over all results, see here for info.

Example Output

<?xml version="1.0" encoding="UTF-8"?>
<results>
  <SERVICE_GROUP ID="23" PRIMARY_KEY="23G0">
    <NAME>NGI_AEGIS_SERVICES</NAME>
    <DESCRIPTION>NGI_AEGIS Core Services</DESCRIPTION>
    <MONITORED>Y</MONITORED>
    <CONTACT_EMAIL>grid-admin@ipb.ac.rs</CONTACT_EMAIL>
    <GOCDB_PORTAL_URL>https://localhost/portal/index.php?Page_Type=Service_Group&amp;id=23</GOCDB_PORTAL_URL>
  </SERVICE_GROUP>
</results>