What product/components do you use and which version/fix level are you on?
Is your question related to the free trial, or to a production (customer) instance?
in open API documentation there is a subnav-element “Data streaming”: Cumulocity IoT - OpenAPI Specification
But when I use it, I don´t get more data. It is still limited to 2000 per page. I added " Accept: application/json-stream" to my request header but it seems that nothing change. Where is the difference to a not stream request?
thx for help
this accept header
Accept: application/json-stream does not change the output format or limitation of 2000 measurements per page. Moreover it changes the behavior the client is receiving the measurements.
When using this header you get a measurement stream, meaning one-by-one and the client does not have to wait for a complete response.
The" normal" behavior is that it will execute a query on the DB, calculate the response and send the full response to the client when ready → client has to wait until all measurements are retrieved.
Let me know if you have additional questions about it!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.