Incorrect Response format when filetype=csv is used with hLimit and hOffset
Madhu-NEC opened this issue · 3 comments
Madhu-NEC commented
When filetype=csv parameter is used in combination with hLimit and hOffset, API returns response in json format not in csv format.
Ideally, the response of API should be in csv format if filetype=csv is used.
For instance,
(http://localhost:8666/STH/v1/contextEntities/type/Room/id/Room1/attributes/temperature?hLimit=10&hOffset=0&filetype=csv) API returns response in JSON format.
fgalan commented
I looks like a new bug in the filetype=csv functionality, similar to the one you discovered in #532. Maybe you could have a look and propose a fix in a PR, as you did with that issue?
Thanks!
Madhu-NEC commented