Question about the API/socket

Carlos Colque6 months ago

HI, it's just a question .. in the webpage appear that api/socket it could show the next json:

{
  "devices": [...],
  "positions: [...],
  "events": [...]
}

but when I execute the api/socket, I only have the positions and I don't see the devices and events... that is correct?

Anton Tananaev6 months ago

Correct. You won't always have everything. In fact most of the time it's only one of those things.

Carlos Colque6 months ago

Is there a way I can control that ?, I mean, how could I get only the devices.

Anton Tananaev6 months ago

You can use regular devices API if you want to get a current snapshot.