Real time type: if range is not specified, it will return 1 hour stats, with 20 seconds interval, so it will have 180 data returned. If range is specified, it will return range/20 data.
Archive type: currently one-year, one-month, one-week and one-day supported, you can't specify the range with seconds but strings like "oneYear", "oneDay", etc. All of them will return fix number of data, for example, one-year will return 365 data, 1 data per day, one-month will return 360 data, 1 data per 2 hours, etc. You have to specify the query type in your API otherwise by default it's realtime type
This input is either 1 - 60 minutes or 'oneDay|oneWeek|oneMonth|oneYear'