Refactoring and downtimes API