Difference between revisions of "GOCDB/PI/get cert status date"
Jump to navigation
Jump to search
(15 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
== Method: get_cert_status_date | {{Template:Op menubar}} | ||
{{Template:GOCDB_menubar}} | |||
{{TOC_right}} | |||
[[Category:GOCDB]] | |||
== Method: get_cert_status_date == | |||
{| {{egi-table}} | {| {{egi-table}} | ||
|- | |- | ||
| '''Description''' || Returns a list of current certification statuses for Production sites and the date they entered that status | | '''Description''' || Returns a list of current certification statuses for <b>'Production' only</b> sites and the date they entered that status (i.e. where Site.ProductionStatus = 'Production', don't get this confused with Site.CertificationStatus) | ||
|- | |- | ||
| '''Protection Level''' || Protected (level 2) | | '''Protection Level''' || Protected (level 2) | ||
Line 10: | Line 15: | ||
=== Entry point === | === Entry point === | ||
* https://goc. | * https://goc.egi.eu/gocdbpi/private/?method=get_cert_status_date&certification_status=Suspended | ||
=== parameters === | === parameters === | ||
Line 19: | Line 24: | ||
| certification_status || Limit results to sites with given certification status || one of "Candidate", "Uncertified", "Certified", "Closed", Suspended" || all || ?method=get_cert_status_date&certification_status=Suspended | | certification_status || Limit results to sites with given certification status || one of "Candidate", "Uncertified", "Certified", "Closed", Suspended" || all || ?method=get_cert_status_date&certification_status=Suspended | ||
|- | |- | ||
| roc || Limit results to a specific ROC/NGI || ROC/NGI short name || all || ?method=get_cert_status_date&roc= | | roc || Limit results to a specific ROC/NGI || ROC/NGI short name || all || ?method=get_cert_status_date&roc=NGI_UK | ||
|- | |||
| 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] | |||
| | |||
| | |||
|- | |||
|} | |} | ||
=== Examples === | |||
* https://goc.egi.eu/gocdbpi/private/?method=get_cert_status_date&certification_status=Closed&roc=NGI_UK | |||
=== Output Example === | === Output Example === | ||
<Source Lang="XML"> | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<site> | |||
<name>Some-Site-Short-Name</name> | |||
<cert_status>Uncertified</cert_status> | |||
<cert_date>28-JUN-10 12.00.09.000000 PM</cert_date> | |||
</site> | |||
</Source> | |||
<!-- | |||
<ROC>UKI</ROC> | |||
<production_status>Production</production_status> | |||
--> | |||
[[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 15:26, 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_date
Description | Returns a list of current certification statuses for 'Production' only sites and the date they entered that status (i.e. where Site.ProductionStatus = 'Production', don't get this confused with Site.CertificationStatus) |
Protection Level | Protected (level 2) |
Entry point
parameters
parameter | effect | format/value(s) | default | example |
---|---|---|---|---|
certification_status | Limit results to sites with given certification status | one of "Candidate", "Uncertified", "Certified", "Closed", Suspended" | all | ?method=get_cert_status_date&certification_status=Suspended |
roc | Limit results to a specific ROC/NGI | ROC/NGI short name | all | ?method=get_cert_status_date&roc=NGI_UK |
Docs for cursor params coming soon. | Limit results and use cursor paging to iterate over all results | See here for info |
Examples
Output Example
<?xml version="1.0" encoding="UTF-8"?>
<site>
<name>Some-Site-Short-Name</name>
<cert_status>Uncertified</cert_status>
<cert_date>28-JUN-10 12.00.09.000000 PM</cert_date>
</site>