Hi,
My StatusPage components have the 'Display the historical status of component.. ' unchecked. But I'd still want to query the uptime for internal reporting metrics.
The API to query uptime https://api.statuspage.io/v1/pages/{page_id}/components/{component_id}/uptime on these components returns a message
{"error":"Component must have uptime showcase enabled."}
But I noticed on the UI that if I check the 'Display historical status' button, I can view the existing and earlier uptime of a component.
Which makes me infer that the uptime values are persistent and available but just not queryable due to the UI flag which restricts display.
Is there a workaround for this? I'd want to query component uptime but not have it displayed on the UI.
Thanks,
Priya