The API to create an incident has a section where you can define the components affected by the incident, and their individual states.
When I create an incident using this API, any component mentioned in the API data is correctly updated in StatusPage to reflect the new state.
However, when I mark the incident as resolved and mark the components as operational, the uptime for the components is *not* affected.
Is this a bug or by design? If the latter, I'm struggling to understand why. It seems like I've got to mark each individual component as (say) "major_outage" and (ultimately) "operational", even though I've done all that via the incident!