This path doesn't work anymore? "/op/v0/device/real/query"
Hey Guys, this path has been working great for real time data the last few weeks:

realtime_path = "/op/v0/device/real/query"

But, now I get no data in response.

{
"status_code": 200,
"reason": "OK",
"data": null,
"error": "No realtime data found"
}

I tried changing path to v1: "/op/v1/device/real/query"
and still no luck!

Anyone having the same issue?
Re: This path doesn't work anymore? "/op/v0/device/real/query"
It’s been marked for deprecation for some time, it looks like they may be tidying things up in the background.

The new path is ‘/op/v1/device/real/query’, but note the slight change in the body ‘sn’ has been changed to ‘sns’ (a list)

See here https://www.foxesscloud.com/public/i18 ... 03e203ca3e
Post Reply