Get Stat call seems to repeat as well as not able to filter

I have been looking at the Stats call again recently and trying to understand how best to structure our calls. We are currently looking to get stats hourly while the Layouts may be over several hours.
When I run the following:
/stats?fromDt=2021-01-08 19:00:00&toDt=2021-01-08 20:00:00&start=0&length=1000
/stats?fromDt=2021-01-08 20:00:00&toDt=2021-01-08 21:00:00&start=0&length=1000
I will get a specific layout with the same Id in both with the same duration. This is looking as though the time is doubled. How have you seen this approached?

Secondly, I was thinking to try the filter of “type” but when I do I get zero results.
/stats?fromDt=2021-01-08 19:00:00&toDt=2021-01-08 20:00:00&start=0&length=1000
I will see both Layout and Media types.
/stats?fromDt=2021-01-08 19:00:00&toDt=2021-01-08 20:00:00&start=0&length=1000&type=layout
/stats?fromDt=2021-01-08 19:00:00&toDt=2021-01-08 20:00:00&start=0&length=1000&type=media
I will so no results at all. Is there something I am missing? I tried lower case as well as Title Case and no difference.

I am looking to use the stats of both Media and Layout on an hourly basis but I seem to be having a hard time understanding how to accomplish this.

The Xibo Community site uses cookies. What are cookies?