Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

Difference between revisions of "GOCDB/PI/get ngi"

From EGIWiki
< GOCDB‎ | PI
Jump to navigation Jump to search
(Created page with "== Method: get_ngi - GOCDB4 == {| |- | '''Description''' | Returns a list of service groups and the roles under those groups. |- | '''Protection Level''' | Protected (level 2...")
 
Line 4: Line 4:
|-
|-
| '''Description'''  
| '''Description'''  
| Returns a list of service groups and the roles under those groups.
| Returns a list of NGIs with contact information
|-
|-
| '''Protection Level'''  
| '''Protection Level'''  
Line 12: Line 12:
=== Entry point  ===
=== Entry point  ===


*https://goc.egi.eu/gocdbpi/private/?method=get_service_group_role<br>
*https://goc.egi.eu/gocdbpi/private/?method=get_ngi<br>


=== parameters  ===
=== parameters  ===
 
None
{| border="1"
|-
! 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<br>
| all
| &nbsp;?method=get_service_group_role&amp;service_group_name=OPSTOOLS
|}


<br>  
<br>  
Line 35: Line 21:
=== Output Example  ===
=== Output Example  ===


  <span class="pi">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  <span class="pi"><xml version="1.0" encoding="UTF-8"?>
&lt;results&gt;
<results>
  &lt;SERVICE_GROUP PRIMARY_KEY="57654G0"&gt;
<NGI PRIMARY_KEY="952G0" NAME="AsiaPacific">
    &lt;NAME&gt;OPSTOOLS&lt;/NAME&gt;
<PRIMARY_KEY>952G0</PRIMARY_KEY>
    &lt;DESCRIPTION&gt;All EGI Operational Tools&lt;/DESCRIPTION&gt;
<NAME>AsiaPacific</NAME>
    &lt;MONITORED&gt;Y&lt;/MONITORED&gt;
<OBJECT_ID>952</OBJECT_ID>
    &lt;CONTACT_EMAIL&gt;gocdb-admins@mailtalk.ac.uk&lt;/CONTACT_EMAIL&gt;
<DESCRIPTION>test</DESCRIPTION>
    &lt;GOCDB_PORTAL_URL&gt;https://gocdb4.esc.rl.ac.uk/portal/index.php?Page_Type=View_Object&amp;amp;object_id=107045&amp;amp;grid_id=0&lt;/GOCDB_PORTAL_URL&gt;
<EMAIL>roc@lists.grid.sinica.edu.tw</EMAIL>
    &lt;USER&gt;
<GGUS_SU/>
      &lt;FORENAME&gt;David&lt;/FORENAME&gt;
<ROD_EMAIL/>
      &lt;SURNAME&gt;Meredith&lt;/SURNAME&gt;
<HELPDESK_EMAIL>test@hithere.com</HELPDESK_EMAIL>
      &lt;CERTDN&gt;/C=UK/O=eScience/OU=CLRC/L=DL/CN=david meredith&lt;/CERTDN&gt;
<SECURITY_EMAIL/>
      &lt;GOCDB_PORTAL_URL&gt;https://gocdb4.esc.rl.ac.uk/portal/index.php?Page_Type=View_Object&amp;amp;object_id=22252&amp;amp;grid_id=0&lt;/GOCDB_PORTAL_URL&gt;
<SITE_COUNT>65</SITE_COUNT>
      &lt;ROLE&gt;Service Group Administrator&lt;/ROLE&gt;
</NGI>
    &lt;/USER&gt;
    &lt;USER&gt;
      &lt;FORENAME&gt;John&lt;/FORENAME&gt;
      &lt;SURNAME&gt;Casson&lt;/SURNAME&gt;
      &lt;CERTDN&gt;/C=UK/O=eScience/OU=CLRC/L=RAL/CN=john casson&lt;/CERTDN&gt;
      &lt;GOCDB_PORTAL_URL&gt;https://gocdb4.esc.rl.ac.uk/portal/index.php?Page_Type=View_Object&amp;amp;object_id=6200&amp;amp;grid_id=0&lt;/GOCDB_PORTAL_URL&gt;
      &lt;ROLE&gt;Service Group Administrator&lt;/ROLE&gt;
    &lt;/USER&gt;
  &lt;/SERVICE_GROUP&gt;
&lt;/results&gt;
  </span><span>
  </span><span>
  </span>
  </span>


[[GOCDB/PI/Technical Documentation|Back to GOCDB technical Documentation main page]]
[[GOCDB/PI/Technical Documentation|Back to GOCDB technical Documentation main page]]

Revision as of 10:36, 5 September 2012

Method: get_ngi - GOCDB4

Description Returns a list of NGIs with contact information
Protection Level Protected (level 2)

Entry point

parameters

None


Output Example

<xml version="1.0" encoding="UTF-8"?>

<results> <NGI PRIMARY_KEY="952G0" NAME="AsiaPacific"> <PRIMARY_KEY>952G0</PRIMARY_KEY> <NAME>AsiaPacific</NAME> <OBJECT_ID>952</OBJECT_ID> <DESCRIPTION>test</DESCRIPTION> <EMAIL>roc@lists.grid.sinica.edu.tw</EMAIL> <GGUS_SU/> <ROD_EMAIL/> <HELPDESK_EMAIL>test@hithere.com</HELPDESK_EMAIL> <SECURITY_EMAIL/> <SITE_COUNT>65</SITE_COUNT> </NGI>



Back to GOCDB technical Documentation main page