Changes to Read the diagnostics collection

get/api/diagnostics