I might be crazy, but curl shows someone elses stream

I used curl https://api.particle.io/v1/events?access_token=1234 using my real access token and I see a stream of data that does not appear to be mine. It shows something about beer and wort etc (yes I was a homebrewer so I recognise what this person was doing)
If I ask for the device information via curl using my device number and the same token, it shows the device I expect.

Double checked the access token in Particle build, even generated a new one just in case, same problem.

Ideas?

-Joe

It looks like you are asking for the public event stream, similar to a public Twitter feed.

You can ask for the private event stream by just changing your URL to includes “devices” or just a specific device or event by changing the URL in other ways.

The doc explaining that is here:

https://docs.particle.io/reference/api/#events

1 Like