Copyright © https://mongoose-os.com

Mongoose OS Forum

frame
ATTENTION! This forum has moved to:

https://community.mongoose-os.com

Do not post any new messages.

How do I access the dashboard using Websocket?

I was wondering how to pass the API key when accessing the dashboard using Websocket. The API reference on the dashboard site says that it can be accessed via
wss://dash.mongoose-os.com/api/v1/ws
but it doesn't say how to pass the API key. Is there an example somewhere?

Comments

  • ulsoulso Stockholm

    I finally managed to connect to the dashboard using Websocket in Python, but now I would like to know how to perform the various requests. I only get the Dash.Log info back immediately after connection.

  • SergeySergey Dublin, Ireland
    edited January 2018

    You cannot do requests via websocket. Websocket is purely read-only - there are Log messages, and others, like Shadow if you use Shadow API.
    For requests, there is RESTful API that is documented on a dashboard.

  • ulsoulso Stockholm

    Ok, got it.

Sign In or Register to comment.