URL: /api/archive/download Parameters: * stations - list of station ids (int)(int,int,...) (mandatory) * limit - limit number of output samples (0 means unlimited output) (int) (default: 0) * type - datetime format for parameters 'from' and 'to' Allowed values: [hr, unix] (default: hr) 'unix': means unix timestamp (e.g. 1234567890) 'hr': means human-readable format (e.g. 2019-12-31) * from,to - unix timestamps or human-readable datetime format (see 'type' for format details) to form time interval to select the data from (0 means no bound for 'from' or 'to' respectively) (int) (default: 0) Examples: * /api/archive/download?stations=1 # Returns all samples for the station with id=1 * /api/archive/download?stations=1,2,3 # Returns all samples for each station with id 1, 2 and 3 * /api/archive/download?stations=2,3&limit=100 # Returns first 100 samples for each stations with id 2 and 3 * /api/archive/download?stations=3&from=1234567890&type=unix # Returns all samples from Fri, 13 Feb 2009 23:31:30 GMT for station with id=3 * /api/archive/download?stations=4&to=1234567890&type=unix # Returns all samples up to Fri, 13 Feb 2009 23:31:30 GMT for station with id=4 * /api/archive/download?stations=9&from=2019-01-01&to=2019-12-31 # Returns all samples from 1 Jan 2019 to 31 Dec 2019 for station with id=9