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 cert status changes"

From EGIWiki
< GOCDB‎ | PI
Jump to navigation Jump to search
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
== Method: get_cert_status_changes - GOCDB4 ==
{{Template:Op menubar}}
{{Template:GOCDB_menubar}}
{{TOC_right}}
[[Category:GOCDB]]
== Method: get_cert_status_changes ==


{| {{egi-table}}  
{| {{egi-table}}  
|-
|-
| '''Description''' || Returns a list of changes to certification statuses
| '''Description''' || Returns a list of <b>changes/transitions</b> to certification statuses. Note, if the requested Site certification status has never been updated from its initial state, then no changes will have occurred and the results will be empty.
|-
|-
| '''Protection Level''' || Protected (level 2)  
| '''Protection Level''' || Protected (level 2)  
Line 10: Line 14:
=== Entry point ===
=== Entry point ===


* https://goc.gridops.org/gocdbpi/private/?method=get_cert_status_changes
* https://goc.egi.eu/gocdbpi/private/?method=get_cert_status_changes


=== parameters ===
=== parameters ===
Line 19: Line 23:
| site || Only return infos for site with specified site name || any sitename || all || ?method=get_cert_status_changes&site=RAL-LCG2
| site || Only return infos for site with specified site name || any sitename || all || ?method=get_cert_status_changes&site=RAL-LCG2
|-
|-
| startdate || Limit results to downtimes that start after specified date || date in YYY-MM-DD format || 1970-01-01 || ?method=get_downtime&startdate=2008-12-08
| startdate || Limit results to changes that start after specified date || date in YYYY-MM-DD format || 1970-01-01 || ?method=get_cert_status_changes&startdate=2010-03-25
|-
| enddate || limit results to changes that end before specified date || date in YYYY-MM-DD format || 2024-12-31 || ?method=get_cert_status_changes&enddate=2011-03-15
|-
| 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]
|
|
|-
|-
| enddate || limit results to downtimes that end before specified date || date in YYY-MM-DD format || 2024-12-31 || ?method=get_downtime&enddate=2008-12-14
|}
|}


=== Output Example ===
=== Output Example ===
 
<Source Lang="XML">
  <?xml version="1.0" encoding="UTF-8"?>
  <?xml version="1.0" encoding="UTF-8"?>
  <results>
  <results>
Line 37: Line 48:
   </result>
   </result>
  </results>
  </results>
 
</Source>


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

Latest revision as of 14:25, 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_cert_status_changes

Description Returns a list of changes/transitions to certification statuses. Note, if the requested Site certification status has never been updated from its initial state, then no changes will have occurred and the results will be empty.
Protection Level Protected (level 2)

Entry point

parameters

parameter effect format/value(s) default example
site Only return infos for site with specified site name any sitename all ?method=get_cert_status_changes&site=RAL-LCG2
startdate Limit results to changes that start after specified date date in YYYY-MM-DD format 1970-01-01 ?method=get_cert_status_changes&startdate=2010-03-25
enddate limit results to changes that end before specified date date in YYYY-MM-DD format 2024-12-31 ?method=get_cert_status_changes&enddate=2011-03-15
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>
   <result>
     <TIME>10-MAR-2011 09.24.18</TIME>
     <UNIX_TIME>1299749058</UNIX_TIME>
     <SITE>BIGSITE</SITE>
     <OLD_STATUS>Certified</OLD_STATUS>
     <NEW_STATUS>Candidate</NEW_STATUS>
     <CHANGED_BY>/C=UK/O=eScience/OU=CLRC/L=RAL/CN=john casson</CHANGED_BY>
   </result>
 </results>

Back to GOCDB technical Documentation main page