Add monitor and downtime APIs with integration tests.