Difference between revisions of "GOCDB/PI/get service group role"
Jump to navigation
Jump to search
(6 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
[[Category:GOCDB]] | [[Category:GOCDB]] | ||
== Method: get_service_group_role | == Method: get_service_group_role == | ||
{| | {| | ||
Line 21: | Line 21: | ||
=== parameters === | === parameters === | ||
{| | {| {{egi-table}} | ||
|- | |- | ||
! parameter | ! parameter | ||
Line 34: | Line 34: | ||
| all | | all | ||
| ?method=get_service_group_role&service_group_name=OPSTOOLS | | ?method=get_service_group_role&service_group_name=OPSTOOLS | ||
|- | |||
| scope | |||
| Show only sites with the requested scope-tags - a list of currently supported scope tags can be found [https://goc.egi.eu/portal/index.php?Page_Type=Scope_Help here] | |||
| A comma separated list of scope-tag values or an empty value to return all scopes, i.e. '&scope=' | |||
| EGI | |||
| ?method=get_service_group_role&scope=Local | |||
|- | |||
| scope_match | |||
| Match 'all' or 'any' of the specified scope-tags | |||
| 'all' or 'any' | |||
| all | |||
| ?method=get_service_group_role&scope=Local,EGI&scope_match=any | |||
|- | |||
| Docs for cursor params coming soon. | |||
| Limit results and use cursor paging to iterate over all results | |||
| [https://wiki.egi.eu/wiki/GOCDB/notifications#Optional_Cursor_Paging_on_Read_API See here for info] | |||
| | |||
| | |||
|- | |||
|} | |} | ||
<br> | <br> | ||
=== Output Example === | === Output Example === |
Latest revision as of 15:27, 16 December 2016
Main | EGI.eu operations services | Support | Documentation | Tools | Activities | Performance | Technology | Catch-all Services | Resource Allocation | Security |
GOC DB menu: | Home • | Documentation Index • |
Method: get_service_group_role
Description | Returns a list of service groups and the roles under those groups. |
Protection Level | Protected (level 2) |
Entry point
parameters
parameter | effect | format/value(s) | default | example |
---|---|---|---|---|
service_group_name | Only return info for the service group with specified site name | any service group name |
all | ?method=get_service_group_role&service_group_name=OPSTOOLS |
scope | Show only sites with the requested scope-tags - a list of currently supported scope tags can be found here | A comma separated list of scope-tag values or an empty value to return all scopes, i.e. '&scope=' | EGI | ?method=get_service_group_role&scope=Local |
scope_match | Match 'all' or 'any' of the specified scope-tags | 'all' or 'any' | all | ?method=get_service_group_role&scope=Local,EGI&scope_match=any |
Docs for cursor params coming soon. | Limit results and use cursor paging to iterate over all results | See here for info |
Output Example
<?xml version="1.0" encoding="UTF-8"?> <results> <SERVICE_GROUP PRIMARY_KEY="57654G0"> <NAME>OPSTOOLS</NAME> <DESCRIPTION>All EGI Operational Tools</DESCRIPTION> <MONITORED>Y</MONITORED> <CONTACT_EMAIL>gocdb-admins@mailtalk.ac.uk</CONTACT_EMAIL> <GOCDB_PORTAL_URL>https://gocdb4.esc.rl.ac.uk/portal/index.php?Page_Type=View_Object&object_id=107045&grid_id=0</GOCDB_PORTAL_URL> <USER> <FORENAME>David</FORENAME> <SURNAME>Meredith</SURNAME> <CERTDN>/C=UK/O=eScience/OU=CLRC/L=DL/CN=david meredith</CERTDN> <GOCDB_PORTAL_URL>https://gocdb4.esc.rl.ac.uk/portal/index.php?Page_Type=View_Object&object_id=22252&grid_id=0</GOCDB_PORTAL_URL> <ROLE>Service Group Administrator</ROLE> </USER> <USER> <FORENAME>John</FORENAME> <SURNAME>Casson</SURNAME> <CERTDN>/C=UK/O=eScience/OU=CLRC/L=RAL/CN=john casson</CERTDN> <GOCDB_PORTAL_URL>https://gocdb4.esc.rl.ac.uk/portal/index.php?Page_Type=View_Object&object_id=6200&grid_id=0</GOCDB_PORTAL_URL> <ROLE>Service Group Administrator</ROLE> </USER> </SERVICE_GROUP> </results>