Retrieve analytics and alarm events over a period of time to display them in a replay view

Is there a way to query for past events (analytics and alarms) for a specific camera so that we can display them in a replay view?

You can build a view in the Smart Client which uses the Alarm List, so this can be shown in Playback mode (does not have to be the Alarm Manager workspace).

The Alarm List can be filtered so that it shows the camera you are interested in, a filter on source could acomplish this.