[Bug] API omits all parameters after the first in the query string

If I do an API call for querying the eventlog of a device, following the documentation:

curl -k -H 'X-Auth-Token: <TOKEN>' https://<SERVERNAME>:443//api/v0/logs/eventlog/:<DEVICENAME>?limit=2&from=2018-10-26%2010:00:00

it gives me the first two entries of the eventlog for that device, but doesn’t care about the date and time information. It gives me the first to entries of the eventlog EVER for that device.

When I do a

curl -k -H 'X-Auth-Token: <TOKEN>' https://<SERVERNAME>:443//api/v0/logs/eventlog/:<DEVICENAME>?from=2018-10-26%2010:00:00&limit=2

and switch the parameters, it gives me the eventlog entries beginning with the right date and time. It doesn’t do the limit but gives me the standard first 50 entries.

I assume, parameters after the first one aren’t evaluated.



[OK] Composer Version: 1.7.2
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[FAIL] fping6 location is incorrect or bin not installed.
Install fping6 or manually set the path to fping6 by placing the following in config.php: $config[‘fping6’] = ‘/path/to/fping6’;