Getting data on my pc through the autopi cloud

Hey guys, i was wondering if someone could help me since i do not know how to operate with AutoPi porperly.
I am running a server on my pc and the cloud options are setup properly but i dont know how can i get data in my pc. I dont know which commands trigger the sending of data through the cloud to my pc. Can anyone help me pls?

Thanks for the attention!

@Malte
Can u give me a hand please :slight_smile: Its something for work and i cant get it right…

Hi Mocamalandro,

Thank you for your patience. We’ve got a section on our docs about just this topic:

Here’s an example of a CURL request:
$ curl -X GET "https://api.autopi.io/logbook/most_recent_positions/" -H "accept: application/json" -H "Authorization: APIToken <REDACTED>"

Hope this helps :slight_smile:

Thank you! I got it to send messages to my own server in my pc, but the messages i keep getting are not live data, and are always the same. Also i am not getting current data in the dashboard in any of the widgets. Could you guys help me pls?

@Mocamalandro

The stale data from the API would be my fault. Forgot that it should be a v2 endpoint that needs to be used when querying the position data. Sorry about that. So the above query should be:

$ curl -X GET "https://api.autopi.io/logbook/v2/most_recent_positions/" -H "accept: application/json" -H "Authorization: APIToken <REDACTED>"

Interesting that you’re getting old data in the dashboard as well. Are you sure the device is able to upload data without issue (API Endpoint in Advanced Settings has not been changed, the device is able to connect to the internet)?